Giter Club home page Giter Club logo

kafka-discord-connector's Introduction

kafka-discord-connector

Will read all messages from a Discord Server and dump them into a single Kafka topic for further processing.

Launches a custom Docker image built ontop of the Landoop Kafka Development image. Simply loads the file being built in this environment.

Pre-reqs

  • A (free) discord server
  • A bot account setup for that server (and therefore a token) The information on the above can be learned from the following Discord4j Link

Building

Run build.sh, assumes you have maven & docker running

Running

  1. docker-compose up
  2. Navigate to http://127.0.0.1:3030
  3. Open the "Kafka Connect UI" and click "Add"
  4. Select "DiscordSourceConnector"
  5. Fill in the "topic name" & "token"
  6. Click "Create"

Status

Currently, the connector launches and collects messages from Discord and now submits them into Kafka. AKA, we've reached MVP for this project. Messages now enter the defined kafka topic.

Next Steps

  • Move the build process into Docker so that we can run "docker build" and everything just happens.
  • Start moving more message information into Kafka. Currently, we just do the content, we don't actually collect who said it, when they said it, or other meta information
  • Focus a more "production" style launch for this image. IE: If we want to build an image which will just run with things like token information, likely will require using a different base docker image
  • Once we've gotten to a more production style for the source connector

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.