Skip to content

Commit a66761e

Browse files
csautterTechassi
andauthored
Update modules/ROOT/pages/getting-started.adoc
Co-authored-by: Techassi <[email protected]>
1 parent dc8eda7 commit a66761e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh
243243
# optional, determine the port
244244
PORT=$(kubectl get pod simple-zk-server-primary-0 -o=jsonpath='{.spec.containers[0].ports[0].containerPort}')
245245
echo $PORT
246-
kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh -server localhost:$PORT
246+
kubectl exec -i -t simple-zk-server-primary-0 -- bin/zkCli.sh -server "localhost:$PORT"
247247
----
248248

249249
The shell should connect automatically to the ZooKeeper server running on the pod. You can run the `ls /` command to see the list of znodes in the root path, which should include those created by Apache Kafka and Apache NiFi.

0 commit comments

Comments
 (0)