Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocketmq-replicator API non mandatory parameters does not pass #491

Open
junxiaw opened this issue May 5, 2023 · 0 comments
Open

rocketmq-replicator API non mandatory parameters does not pass #491

junxiaw opened this issue May 5, 2023 · 0 comments

Comments

@junxiaw
Copy link

junxiaw commented May 5, 2023

This is my API request:
curl -X POST -H "Content-Type: application/json" http://127.0.0.1:8082/connectors/test002 -d '{
"connector.class": "org.apache.rocketmq.replicator.ReplicatorSourceConnector",
"src.endpoint": "127.0.0.1:9876",
"src.cluster": "DefaultCluster",
"dest.acl.enable": "false",
"dest.topic": "test-002",
"max.task": "2",
"src.topictags": "test-002,*",
"src.acl.enable": "false",
"dest.endpoint": "192.168.90.22:9876",
"dest.cluster": "DefaultCluster",
}'

API response:
{"errorCode":500,"message":"Replicator connector org.apache.rocketmq.replicator.ReplicatorSourceConnector do not set dest.cloud"}

According to README.md rocketmq-replicator参数说明,“dest.cloud” Not mandatory
https://github.com/apache/rocketmq-connect/tree/master/connectors/rocketmq-replicator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant