Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
minghsu0107 authored Feb 18, 2022
1 parent f1f9790 commit 1f53d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ for i in 0 1 2; do echo "myid zk-$i";kubectl exec zk-$i -n kafka -- cat /var/lib
# show config
kubectl exec zk-0 -n kafka -- cat /opt/zookeeper/conf/zoo.cfg
# write world to the path /hello on the zk-0 Pod in the ensemble
kubectl exec zk-0 -n kafka zkCli.sh create /hello world
kubectl exec zk-0 -n kafka -- zkCli.sh create /hello world
# get the data from the zk-1 Pod
kubectl exec zk-1 -n kafka zkCli.sh get /hello
kubectl exec zk-1 -n kafka -- zkCli.sh get /hello
```
Test broker and topic operations:
```bash
Expand Down

0 comments on commit 1f53d6c

Please sign in to comment.