Basic Concepts Apache Kafka:
1. Start Zookeeper
2. Start Kafka Server
C:\ApacheKafka\kafka_2.12-3.5.0>bin\windows\kafka-server-start.bat config\server.properties
3. How Topic Created?
C:\ApacheKafka\kafka_2.12-3.5.0>bin\windows\kafka-topics.bat --create --topic employee-topic --bootstrap-server localhost:9092
Created topic employee-topic.
4. How to produce the message ?
C:\ApacheKafka\kafka_2.12-3.5.0>bin\windows\kafka-console-producer.bat --topic employee-topic --bootstrap-server localhost:9092
5. How to consume the Message ?
No comments:
Post a Comment