A magical kafka command line interface.
Project description
Install
Install from pypi
pip install kafkaescli
Usage
# consume from `hello`
kafkaescli consume hello
# consume from `hello` showing metadata
kafkaescli consume hello --metadata
# produce topic `hello`
kafkaescli produce hello world
# produce longer strings
kafkaescli produce hello "world of kafka"
# produce from stdin per line
echo "hello world of kfk" | kafkaescli produce hello --stdin
# produce to topic `world` form the output of a consumer of topic `hello`
kafkaescli consume hello | kafkaescli produce world --stdin
# produce `world` to `hello`, with middleware
kafkaescli produce hello json --middleware examples.json.JSONMiddleware
# consume from hello with middleware
kafkaescli consume hello --middleware examples.json.JSONMiddleware
# run the web api http://localhost:8000/docs
kafkaescli runserver
# POST consumed messages to WEBHOOK
kafkaescli consume hello --metadata --webhook https://myendpoint.example.com
# For more details see
kafkaescli --help
Contributions
Pull-requests are welcome and will be processed on a best-effort basis. Follow the contributing guide.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kafkaescli-0.1.4.tar.gz
(11.3 kB
view hashes)
Built Distribution
kafkaescli-0.1.4-py3-none-any.whl
(15.4 kB
view hashes)
Close
Hashes for kafkaescli-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a83a00447597a144a1edb5aff6115fa352c08cda9252c8aa0e119f605b1256 |
|
MD5 | 34e7189753e064302e5c6e1d7e96fce9 |
|
BLAKE2b-256 | bcf7590177a4b5a2647adff742562adc69d70e12524103afdabbcefa05958bf1 |