Chris Egerton created KAFKA-14814:
-------------------------------------
Summary: Skip restart of connectors when redundant resume request
is made
Key: KAFKA-14814
URL: https://issues.apache.org/jira/browse/KAFKA-14814
Project: Kafka
Issue Type: Improvement
Components: KafkaConnect
Reporter: Chris Egerton
Assignee: Chris Egerton
Consecutive requests to theĀ {{PUT /connectors/<name>/resume}} endpoint will
cause the Connector to be restarted. This is a little wasteful and conflicts
with the idempotent nature of that endpoint. We can tweak the
{{MemoryConfigBackingStore}} and {{KafkaConfigBackingStore}} classes to not
invoke the {{onConnectorTargetStateChange}} method of their
{{ConfigUpdateListener}} instance if they pick up a new target state that
matches the current target state of the connector.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)