Public Repository

Last pushed: 10 months ago
Short Description
Simple (and most probably really dumb) sensor that collects stats of itself and sends to kafka
Full Description

Dockerfile example

FROM python:2.7-slim

WORKDIR /usr/src/send_data

COPY . .

RUN pip install --no-cache-dir kafka-python

ENTRYPOINT [ "python", "./" ]


First argument specifies IP address of the Kafka broker (or server)
Second argument specifies Port of the Kafka server (i.e 9092)

You can edit the python module (inside the container). The reference for the python module is:

Docker Pull Command