sunxiaojian commented on issue #189:
URL: 
https://github.com/apache/rocketmq-connect/issues/189#issuecomment-1190036634

   > > 
   > 
   > > > > 你好大神,@sunxiaojian 觉得问题是出在哪?启动配置的话,就是配置了一个单独的rocketmq给runtime用。
   > > > 
   > > > 
   > > > 你的配置贴一下
   > > > runtime配置文件如下:
   > > 
   > > 
   > > `workerId=standalone-worker storePathRootDir=/rocketmq-connect/storeRoot
   > > ## Http port for user to access REST API
   > > httpPort=8082
   > > # Rocketmq namesrvAddr
   > > namesrvAddr=localhost:9876
   > > # RocketMQ acl
   > > #aclEnable=false accessKey=rocketmq secretKey=12345678
   > > #autoCreateGroupEnable=false clusterName="DefaultCluster"
   > > # Source or sink connector jar file dir,The default value is 
rocketmq-connect-sample
   > > 
pluginPaths=/rocketmq-connect/connectors/rocketmq-replicator/target/rocketmq-replicator-0.1.0-SNAPSHOT-jar-with-dependencies.jar
 `
   > > 发起同步的请求是这样的: 
`http://10.10.35.151:32715/connectors/replicator-test-2?config={"connector-class":"org.apache.rocketmq.replicator.RmqSourceReplicator","source-rocketmq":"10.10.35.151:31088","target-rocketmq":"10.10.35.151:32240","replicator-store-topic":"replicator-store-topic","task-divide-strategy":"0","white-list":"","task-parallelism":"2","source-record-converter":"org.apache.rocketmq.connect.runtime.converter.JsonConverter","target-cluster":"rocketmq2","source-cluster":"rocketmq1","connect-topicname":""}`
   > > white-list参数不填,意思是同步所有topic吗?
   > 
   > 是的,runtime 配置中 clusterName 参数配置要 和 replicator source config中 
target-cluster 配置参数保持一致
   
   两地集群同步的架构是把 集群部署在 target 集群之上


-- 
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]

Reply via email to