Public Repository

Last pushed: a month 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", "./send_data.py" ]

Arguments

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: https://github.com/RajsimmanRavi/iot_app_cascon/tree/master/sensor

Docker Pull Command
Owner
perplexedgamer

Comments (0)