Giter Site home page Giter Site logo

kafka-types's Introduction

Research on Types for Kafka Ingestion

This is to test an implementation of data processing within a Kafka pipeline. The Docker set up will spin up a cluster and all the monitoring components. The Python scripts will help to create the connections, maintain topics, and manage the data processing.

  • injection.py -- this is the "main" tool. It will set up a listener for incoming messages in the configured topic in config.py.
  • To generate events you can use flog to emit logs and pipe them to scream.py which will output them to the correct topic configured in config.py. E.g., flog -f rfc3164 -l | python scream.py
  • To test consuming you can run output.py

Kafka Configuration

I used this Github as a jumping off point: https://github.com/papirosko/kafka-demo

You can see all the configuraiton settings here: docker-compose.yml.

Fake Logs

I'm usng flog to generate logs. I'm including networking in the process for the testing (since this project isn't about throughput performance beyond "whatever is reasonable").

Does this work?

Yep! It's slow, running at around 20%-25% of realtime. See stats.ipynb for some details.

Why?

See details in docs.

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.