ibm-messaging / kafka-connect-mq-source

This repository contains a Kafka Connect source connector for copying data from IBM MQ into Apache Kafka.
Apache License 2.0
93 stars 85 forks source link

Pause connector does not actually pause the tasks #88

Closed harishanandan124 closed 1 year ago

harishanandan124 commented 3 years ago

I am trying to pause the connector using the api (i.e. curl -X PUT localhost:8083/connectors/local-file-sink/pause) and I am seeing that the connector is paused but the tasks are not paused,

{"name":"connectorname","connector":{"state":"PAUSED","worker_id":"11.16.170.78:8083"},"tasks":[{"id":0,"state":"RUNNING","worker_id":"11.16.170.78:8083"}],"type":"source"}

is there a workaround for this? We need to pause the connectors as sometimes we would like to undergo maintenance of source or target systems.

jhughes24816 commented 1 year ago

There is usually a short delay for the Tasks to be paused. Closing this, if the issue pops up again please raise a new issue and we can address it there. Thanks.