summary refs log tree commit diff
path: root/kafka-send/README.md
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2024-07-02 17:26:40 -0500
committerStarfall <us@starfall.systems>2024-07-02 17:27:28 -0500
commita381884d323b67844d0ed7910b37171560a2d9d3 (patch)
treeaa61a0c54cbbed8da20fcafdfded3e110b1e3991 /kafka-send/README.md
parentd0649d2d83171a50d538c3690ede74dba7d12dc9 (diff)
kafka-send: new python script to produce kafka messages HEAD main
Diffstat (limited to 'kafka-send/README.md')
-rw-r--r--kafka-send/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/kafka-send/README.md b/kafka-send/README.md
new file mode 100644
index 0000000..297046e
--- /dev/null
+++ b/kafka-send/README.md
@@ -0,0 +1,15 @@
+Tiny Python script to send a message on a Kafka topic, because the command line tools couldn't accept as big a message as we needed.
+
+Setup:
+```
+uv venv
+source .venv/bin/activate
+uv pip sync requirements.txt
+```
+
+Usage:
+```
+kafka-send.py topic path/to/message.json
+```
+
+If you want to use something other than a local Kafka server, add `-s server.host:9092`.