You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2023/03/16 19:08:00 UTC
[jira] [Created] (KAFKA-14814) Skip restart of connectors when redundant resume request is made
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)