summary refs log tree commit diff
path: root/kafka-send/README.md
blob: 297046eb7df8d20bd93d3b7ed08907df8c9a1628 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.