Skip to content

Commit 2450560

Browse files
authored
fix(scripts): fix "advertised.listeners" when deploying cluster (#2070)
Signed-off-by: Ning Yu <[email protected]>
1 parent 6323a8a commit 2450560

File tree

1 file changed

+1
-1
lines changed
  • automq-shell/src/main/java/com/automq/shell/commands/cluster

1 file changed

+1
-1
lines changed

automq-shell/src/main/java/com/automq/shell/commands/cluster/Deploy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private static void appendCommonConfigsOverride(StringBuilder sb, ClusterTopolog
159159
sb.append("--override cluster.id=").append(topo.getGlobal().getClusterId()).append(" ");
160160
sb.append("--override node.id=").append(node.getNodeId()).append(" ");
161161
sb.append("--override controller.quorum.voters=").append(getQuorumVoters(topo)).append(" ");
162-
sb.append("--override advertised.listeners=").append(node.getHost()).append(":9092").append(" ");
162+
sb.append("--override advertised.listeners=").append("PLAINTEXT://").append(node.getHost()).append(":9092").append(" ");
163163
}
164164

165165
private static void appendExtConfigsOverride(StringBuilder sb, String rawConfigs) {

0 commit comments

Comments
 (0)