iamtech / Kafka_Microservices

Sample Producer and Consumer Microservices (Using Custom Partition)

Repository from Github https://github.comiamtech/Kafka_MicroservicesRepository from Github https://github.comiamtech/Kafka_Microservices

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

About

Sample Producer and Consumer Microservices (Using Custom Partition)


Languages

Language:Java 100.0%