Skip to content

Commit

Permalink
Update command
Browse files Browse the repository at this point in the history
Signed-off-by: obaydullahmhs <[email protected]>
  • Loading branch information
obaydullahmhs authored and raihankhan committed May 7, 2024
1 parent 716b4c5 commit 6236eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/kafka/quickstart/overview/connectcluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ rs1:PRIMARY> db.source.insertOne({"mongodb":"source"})
Exec into one of the kafka brokers in interactive mode. Run consumer command to check the data in the topic.

```bash
$ kubectl exec -it kafka-quickstart-broker-1 -n demo -- bash
kafka@kafka-quickstart-broker-1:~$ kafka-console-consumer.sh --bootstrap-server localhost:9092 --consumer.config config/clientauth.properties --topic mongo.mongodb.source --from-beginning
$ kubectl exec -it kafka-quickstart-1 -n demo -- bash
kafka@kafka-quickstart-1:~$ kafka-console-consumer.sh --bootstrap-server localhost:9092 --consumer.config config/clientauth.properties --topic mongo.mongodb.source --from-beginning
"{\"_id\": {\"$oid\": \"66389ca8c43abff3a434b916\"}, \"hi\": \"kubedb\"}"
"{\"_id\": {\"$oid\": \"66389cb4c43abff3a434b917\"}, \"kafka\": \"connectcluster\"}"
"{\"_id\": {\"$oid\": \"66389cc0c43abff3a434b918\"}, \"mongodb\": \"source\"}"
Expand Down

0 comments on commit 6236eaf

Please sign in to comment.