This project contains a simple Go-based TCP word emitter intended for use with Spark Structured Streaming.
rootfs/app/
: Golang application that sends timestamped words via TCPcharts/word-emitter
: Helm chart to deploy the emitter in Kubernetes
./build.sh
./push-image.sh
helm install word-emitter ./charts/word-emitter -n word-emitter --create-namespace
In an ubuntu pod:
kubectl run -i --rm --tty shell --image=ubuntu -- bash
apt update && apt install netcat-traditional
nc word-emitter.word-emitter 9999