https://github.com/redborder/kafka-forwarder
forward data from one topic to another
https://github.com/redborder/kafka-forwarder
Last synced: 2 months ago
JSON representation
forward data from one topic to another
- Host: GitHub
- URL: https://github.com/redborder/kafka-forwarder
- Owner: redBorder
- License: agpl-3.0
- Created: 2024-02-27T14:03:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T09:51:42.000Z (over 2 years ago)
- Last Synced: 2024-03-12T11:01:54.370Z (over 2 years ago)
- Language: Java
- Size: 18.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafka-forwarder
Forwards data from one topic (sourceTopic) to another topic (destinationTopic). The source or destination topic can be in another machine.
In this case the broker also need to be defined
Usage:
```bash
$ java -jar target/kafka-forwarder-1.0.0-selfcontained.jar
usage: java -jar kafka-forwarder.jar
--sourceTopic topic to read from (required)
--destinationTopic topic to produce to (required)
--sourceBroker broker of the source machine (default: localhost:9092)
--destinationBroker broker of the destination machine (default: localhost:9092)
--help
```
example :
- java -jar kafka-forwarder-1.0.0-SNAPSHOT-selfcontained.jar --sourceTopic rb_state --destinationTopic rb_state --produceBroker rbmanager.redborder.cluster:9092
## Contributing
1. [Fork it](https://github.com/redborder/kafka-forwarder/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## License
[AGPL v3](http://www.gnu.org/licenses/agpl-3.0.html)