Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 667 Bytes

4.lists.md

File metadata and controls

19 lines (12 loc) · 667 Bytes

Create a list name test

bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic test

Check the lists

bin/kafka-topics.sh --list --bootstrap-server localhost:9092

Connect to the list test

bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test

Send messages

alta cliente 1

In other window , we are going to connect as a consumer

bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning