Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 851 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 851 Bytes

kafka-basic-tech-primer

Refer to https://kafka.apache.org/quickstart to Start the Kafka environment

  • Download the latest Kafka release and extract it
  • Start the ZooKeeper service
  • Start the Kafka broker service

Use the code from this repo

  • Produce to topic - Run KafkaProducerApplication

  • Consume from topic - Run KafkaConsumerApplication

    • Consumer app created consumer group my-Wikimedia-CG
    • Consumer app reads data from topic wikimedia_recentchange and logs it
    • Refer to kafka-consumer/application.properties file for consumer config