Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/invadergir/kafka-key-value-producer
Test tool that allows you to output key-value pairs on a kafka topic.
https://github.com/invadergir/kafka-key-value-producer
Last synced: 20 days ago
JSON representation
Test tool that allows you to output key-value pairs on a kafka topic.
- Host: GitHub
- URL: https://github.com/invadergir/kafka-key-value-producer
- Owner: invadergir
- License: apache-2.0
- Created: 2017-12-15T04:19:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T22:52:01.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T05:26:42.917Z (2 months ago)
- Language: Scala
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
This is a key-value producer. At the prompt, enter a comma-separated (key, value) string. Both values are considered strings and sent to topic 'input-topic'. (To override the default topic name, specify it on the command line.)
Input example:
1, A
2, {"some":"json", "more":"json"}
You can safely enter JSON for the value. The key is considered all the text before the first comma in the input.