Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 590 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 590 Bytes

Kafka_Microservices - sample Producer and Consumer Microservices (Using Custom Partition)

Start Zookeeper Server
bin\windows\zookeeper-server-start.bat config\zookeeper.properties

Start Kafka Server
bin\windows\kafka-server-start.bat config\server.properties

Create Topic:
bin/windows/kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example

Alter Topic
bin/windows/kafka-topics.bat --alter --zookeeper localhost:2181 --partitions 2 --topic Kafka_Example