DataReply / kafka-connect-mongodb

Apache License 2.0
129 stars 61 forks source link

Connector Task State remains Unassigned #21

Open harshsp31 opened 7 years ago

harshsp31 commented 7 years ago

I have integrated the connector with the confluent platform and it sets up fine but the task state remains at Unassigned. I have tried restarting, pausing and resuming the connector as well as integrating it from scratch again but the status remains as follows :

{ "name": "mongo", "connector": { "state": "RUNNING", "worker_id": "192.168.1.120:8083" }, "tasks": [ { "state": "UNASSIGNED", "id": 0, "worker_id": "192.168.1.120:8083" } ] }

Can you tell me what the issue is here?

AAbhardwaj commented 6 years ago

I got the task running, but do not get any messages in my kafka topic . Any idea?

$curl localhost:8083/connectors/mongodb-source-connector/status { "name":"mongodb-source-connector", "connector":{ "state":"RUNNING", "worker_id":"1xx.2x.xx.xx:8083" }, "tasks": [ { "state":"RUNNING", "id":0, "worker_id":"1xx.2x.xx.xx:8083" } ], "type":"source" }

cwinkelmann commented 6 years ago

What did you change to get the task into the running state?