Python and Kafka

Hard Prerequisites
  • PROJECTS: RabbitMQ
  • Read the offial introduction here: https://kafka.apache.org/intro

    If you understood your RabbitMQ stuff then this should feel pretty familiar to you.

    What can you use it for? Check this out: https://kafka.apache.org/uses

    Now this little tutorial will help you get started. Can you get it to run? https://towardsdatascience.com/kafka-python-explained-in-10-lines-of-code-800e3e07dad1

    This one is more thorough. So long as you are comfortable with the Kafka concepts in here you are good to go.

    https://towardsdatascience.com/getting-started-with-apache-kafka-in-python-604b3250aa05

    Please note Exception handling is important. The above tutorials are not about exception handling and the authors did some things that are really terrible from an engineering prespective. When reading tutorials you always need to think about what’s wrong with the code. There is a lot wrong here. But the Kafka parts are good.


    RAW CONTENT URL