Skip to content

bdostumski/kafka-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

Releases

No releases published

Packages

No packages published

Languages