wongearl opened a new issue, #140:
URL: https://github.com/apache/rocketmq-connect/issues/140
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
i use rockermq-operator create thress rocker cluster A B C. User
cluster A deploy RocketMQ Runtime and RocketMQ Replicator。
- What is expected to see?
i wang sync topic and message in cluster B to cluster c,
http://x.x.x.x:8082/connectors/rocketmq-replicator-name?config={"connector-class":"org.apache.rocketmq.replicator.RmqSourceReplicator","source-rocketmq":"clusterB:30032","target-rocketmq":"clusterC:30001","replicator-store-topic":"replicatorTopic","task-divide-strategy":"0","white-list":"","task-parallelism":"2","source-record-converter":"org.apache.rocketmq.connect.runtime.converter.JsonConverter","target-cluster":"target-cluster","source-cluster":"source-cluster","connect-topicname":"test-sync"}
- What did you see instead?
2022-05-17 15:58:13 INFO NettyClientSelector_1 - closeChannel: close the
connection to remote address[] result: true
2022-05-17 15:58:16 ERROR RmqSourceReplicator-SourceWatcher-1 - Fetch topic
list error.
java.lang.IllegalStateException: no broker found for srcTopic: TopicTest2
srcCluster: source-cluster
at
org.apache.rocketmq.replicator.RmqSourceReplicator.ensureTargetTopic(RmqSourceReplicator.java:311)
at
org.apache.rocketmq.replicator.RmqSourceReplicator.buildRoute(RmqSourceReplicator.java:251)
at
org.apache.rocketmq.replicator.RmqSourceReplicator$1.run(RmqSourceReplicator.java:125)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2. Please tell us about your environment:
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions on how to fix, etc):
i think connect-topicname should not must be here, but if not, the request
will start rocketmq-replicator failed.
what is rockermq version is support, i use 4.5.1. it need to visit broker? i
deploy rocker cluster on k8s, broker can't visit out k8s cluster.
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
2. Provide any additional detail on your proposed use case for this feature.
2. Indicate the importance of this issue to you (blocker, must-have,
should-have, nice-to-have). Are you currently using any workarounds to address
this issue?
4. If there are some sub-tasks involved, use -[] for each sub-task and
create a corresponding issue to map to the sub-task:
- [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1
description here,
- [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2
description here,
- ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]