We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd534c7 commit 4176282Copy full SHA for 4176282
scripts/cli/src/lib/utils_function.sh
@@ -938,7 +938,7 @@ retrycmd() {
938
939
# for RBAC, taken from cp-demo
940
function host_check_kafka_cluster_registered() {
941
- KAFKA_CLUSTER_ID=$(confluent cluster describe --url http://broker:8091 --output json | jq -r .scope[0].id)
+ KAFKA_CLUSTER_ID=$(docker container exec zookeeper zookeeper-shell zookeeper:2181 get /cluster/id 2> /dev/null | grep \"version\" | jq -r .id)
942
if [ -z "$KAFKA_CLUSTER_ID" ]; then
943
return 1
944
fi
0 commit comments