Skip to content

Commit 6cd9727

Browse files
pthirunclaude
andcommitted
Include uncleanLeaderElectionEnable in PubSubTopicConfiguration toString()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b25c22f commit 6cd9727

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/venice-common/src/main/java/com/linkedin/venice/pubsub/PubSubTopicConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,13 @@ public void setMaxLogCompactionLagMs(Optional<Long> maxLogCompactionLagMs) {
121121
@Override
122122
public String toString() {
123123
return String.format(
124-
"TopicConfiguration(retentionInMs = %s, isLogCompacted = %s, minInSyncReplicas = %s, minLogCompactionLagMs = %s, maxLogCompactionLagMs = %s, useAlternativeBackend = %s)",
124+
"TopicConfiguration(retentionInMs = %s, isLogCompacted = %s, minInSyncReplicas = %s, minLogCompactionLagMs = %s, maxLogCompactionLagMs = %s, uncleanLeaderElectionEnable = %s, useAlternativeBackend = %s)",
125125
retentionInMs.isPresent() ? retentionInMs.get() : "not set",
126126
isLogCompacted,
127127
minInSyncReplicas.isPresent() ? minInSyncReplicas.get() : "not set",
128128
minLogCompactionLagMs,
129129
maxLogCompactionLagMs.isPresent() ? maxLogCompactionLagMs.get() : " not set",
130+
uncleanLeaderElectionEnable.isPresent() ? uncleanLeaderElectionEnable.get() : "not set",
130131
useAlternativeBackend);
131132
}
132133

0 commit comments

Comments
 (0)