Giter VIP home page Giter VIP logo

kafka-toolbox's Issues

Use requirements.txt for each producer and consumer

Using requirements.txt can specify the version of a certain module. Pip install will download the newest module by default, but it may be incompatible with the system. Also, we can use requirements.txt in Dockerfile.

ASes name in Kafka

  • Add a producer for AS names
  • Consumers (e.g. psql/ASHegemony.py) should get names there

psql consumer / cron

don't loop forever in psql consumer
get data and push it once then terminate? so it can be run frequently by a cron job

handle cases where part of the data was already consumed (commit only pushed data)

Add anomaly detector for AS hegemony cone (count of downstream networks)

Is your feature request related to a problem? Please describe.
Currently we cannot detect anomalies in the number of dependent networks because these value is computed just before storing it in the database.

Describe the solution you'd like

  • We should compute the number of dependent networks from AS hegemony values in Kafka and push the results to Kafka.
  • So we can also run an anomaly detector for it.
  • And we'll need a new consumer to store these values to the postures database.

Create docker container environment for Kafka-Toolbox repo

@romain-fontugne I was planning to create an entire docker environment for our kafka server. But what I have observed is we have around 6-7 producers and a bunch of consumers in psql/consumers. Do you have any existing approach as to how to club these producers and consumers? I have 2 options:

  1. Creating separate containers for each producer and consumer which will allow us to scale specific components if they generate data with high velocity and have fine-grained control over the components. But this can create a little bit of chaos as well since we'll have to deploy 20+ containers.

  2. If we want a simpler deployment and management experience, we could combine all of the producers into one container and all of the consumer into another container. Just the fact I feel is it would limit our ability to scale individual components independently.

But entirely your call. We can move forward accordingly.

Create a README.md file

Create a README.md file for all of the directories other than bgp/producers

File should contain-

  1. Requierements
  2. Usage
  3. Deprecated
    at least. And any other useful information will be appreciated.
    For better understanding refer to bgp/producers Readme

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.