This repo was created to practice and learn about Apache Kafka and microservices arctecture. To maintain it simple, I'm only using Apache Maven and running the project on Java 11.
Apart from downloading the Github repository, this project needs Apache Kafka binaries after the download, unpack and open the Kafka folder and start the Zookeeper and Kafka. Open the command line (I'm using git bash).
The following list of commands will help to start Zookeeper and Kafka.
bin/zookeper-server-start.sh config/zookeper.propertiesbin/kafka-server-start.sh config/server.propertiesbin/kafka-topics.shbin/kafka-topics.sh --create --bootstrap-server localhost:9092 replication-factor 1 --partirions 1 --topic NOME_TOPICObin/kafka-console-producer.sh --broker-list localhost:9092 --topic LOJA_NOVO_PEDIDObin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic NOME_TOPICO --from-beginningbin/kafka-topics.sh --bootstrap-server localhost:9092 --describebin/kafka-topics.sh --alter --zookeeper localhost:2181 --topic [TOPIC_NAME] --partitions [NUMBER_OF_PARTITIONS]bin/kafka-consumer-groups.sh -all-groups --boostrap-server localhost:9092 --describeIt is important to notice that the Java JDK version needed to run the commands above is 1.8.