Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bewaremypower/kafka-migrate-pulsar
A simple tool to migrate a topic's messages and committed offsets from a Kafka cluster to a KoP cluster.
https://github.com/bewaremypower/kafka-migrate-pulsar
kafka kop pulsar
Last synced: 19 days ago
JSON representation
A simple tool to migrate a topic's messages and committed offsets from a Kafka cluster to a KoP cluster.
- Host: GitHub
- URL: https://github.com/bewaremypower/kafka-migrate-pulsar
- Owner: BewareMyPower
- Created: 2021-05-31T09:03:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-31T09:05:00.000Z (over 3 years ago)
- Last Synced: 2024-11-14T07:46:24.957Z (3 months ago)
- Topics: kafka, kop, pulsar
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kafka-migrate-pulsar
A simple tool to migrate a topic's messages and committed offsets from a [Kafka](https://github.com/apache/kafka) cluster to a [KoP](https://github.com/streamnative/kop) cluster.
## How to use?
Assuming there's a Kafka cluster that listens at `localhost:9092` and a KoP cluster that listens at `localhost:19092`, run following commands to migrate topic `my-topic` from Kafka cluster to KoP cluster.
```bash
$ mvn compile
$ mvn exec:java -Dexec.mainClass=io.github.bewaremypower.Main -Dexec.args="--topic my-topic --kafka-broker-list localhost:9092 --kop-broker-list localhost:19092"
```