textpipe / streamprocessor

Transform streaming messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streamprocessor: transform streaming messages

Prequisites

Install librdkafka:

brew install librdkafka

Running an example

$ echo '{"test": 1, "a": 3, "c": 4}' | python example.py keys

Running an example with Spark

PYSPARK_PYTHON=python spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.3.0 --py-files streamprocessor/ example_spark.py

About

Transform streaming messages

License:MIT License


Languages

Language:Python 100.0%