Skip to content

lakshyajain24/kafka

 
 

Repository files navigation

installation guide kafka

https://www.youtube.com/watch?v=lijWUsVN-mM

https://towardsdatascience.com/connecting-the-dots-python-spark-and-kafka-19e6beba6404

run kafka and zookeeper server

./bin/zookeeper-server-start.sh config/zookeeper.properties

./bin/kafka-server-start.sh config/server.properties

create topic in kafka

bin/kafka-topics.sh --create --topic INFERENCE --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

bin/kafka-topics.sh --create --topic EMAIL --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

bin/kafka-topics.sh --create --topic NOTIFICATION --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

install kafka python

pip install kafka-python flask flask_cors

spark-kafka

https://medium.com/data-arena/enabling-streaming-data-with-spark-structured-streaming-and-kafka-93ce91e5b435

https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams#Stream_selection

https://github.com/cordon-thiago/spark-kafka-consumer

install elk

https://github.com/panditrahulsharma/docker-elk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.6%
  • Jupyter Notebook 3.3%
  • Cython 0.6%
  • C++ 0.3%
  • C 0.1%
  • Shell 0.1%