Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
priv
rel
test
.gitignore
Dockerfile
README.md
default.env
docker-compose.yml
docker.env
mix.exs
mix.lock

README.md

Social Media Tracker Middleware

This is a system to provide a websocket interface to Kafka Stream aggregation pipelines. It exposes a TCP socket server on a configurable port using environment variables where Streams are expected to push JSON data. This data is then broadcast to all subscribing websockets. The only required variable in the JSON payload is a type declaration. This is used to subscribe websocket connections to message types.

The websocket connection can subscribe to different message types by passing the ?filters={type1},{type2},etc query string on initial connection.

Before running docker-compose build make sure that the variables in default.env and docker.env match and run $ source default.env

In your deployment the environment variable file names will probably vary, the ones here are given only as examples for configuration.

You can’t perform that action at this time.