GithubHelp home page GithubHelp logo

narayanadithya / kafka_kafkaui_demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

Simple setup to launch Kafka with Kafka Drop UI using docker and python scripts to produce and consume.

Python 100.00%

kafka_kafkaui_demo's Introduction

Setting Up Kafka with Kafka UI

The following is a simple way to setup Kafka brokers using docker-compose along with KafkaDrop UI.

Setup Instructions

  1. Clone the repo using https://github.com/NarayanAdithya/Kafka_KafkaUI_demo.git
  2. Set the terminal directory into the Kafka_KafkaUI_demo folder
  3. Run docker-compose up
  4. Once the setup is complete check localhost:9000 for the KafkaDrop Interface
  5. You have successfully setup Kafka with KafkaDrop

Setup Instructions for Python

  1. Run pip install -r requirements.txt, this will install the necessary packages required
  2. Run python kafka_producer.py, this will produce data to the kafka broker.
  3. In a different terminal or same run python kafka_consumer.py, we can see that the data that was pushed was read successfully from the broker.
  4. Press ctrl+c/z to exit the consumer script which keeps listening for new messages produced.

kafka_kafkaui_demo's People

Contributors

narayanadithya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.