Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.53 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.53 KB

Learn Apache Kafka

Lnks

Cheat Sheet

Notes

  • Download Kafka
  • Run Kafka (into kafka directory run the scripts):
    • bin/zookeeper-server-start.sh config/zookeeper.properties | Kafka Start the ZooKeeper service
    • bin/kafka-server-start.sh config/server.properties | Start the Kafka broker service
  • Read Kafka Events
    • bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092 | To read events, NOTE to change quickstart-events with my own topic in this case is syscomz

Description

  • Kafka "Kafka"
    • In kafka we have
      • Producer (produce data) -> (streams of data records) -> Log (Topic - Collection of events replicated and partitioned durable - hours, days, years, forever. Big or small) -> Consumer (consumes filtered data)
      • To run kafka check this link here. "Kafka Architecture"