Ross Lawley created KAFKA-14015: ----------------------------------- Summary: ConfigProvider with ttl fails to restart tasks Key: KAFKA-14015 URL: https://issues.apache.org/jira/browse/KAFKA-14015 Project: Kafka Issue Type: Bug Reporter: Ross Lawley
According to the [KIP-297|https://cwiki.apache.org/confluence/display/KAFKA/KIP-297%3A+Externalizing+Secrets+for+Connect+Configurations#KIP297:ExternalizingSecretsforConnectConfigurations-SecretRotation]: {quote} * When the Herder receives the onChange() call, it will check a new connector configuration property config.reload.action which can be one of the following: ** The value restart, which means to schedule a restart of the Connector and all its Tasks. This will be the default. ** The value none, which means to do nothing.{quote} However, the [restartConnector|https://github.com/apache/kafka/blob/3.2.0/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/standalone/StandaloneHerder.java#L287-L294] method only restarts the connector and does not restart any tasks. Suggest calling {{restartConnectorAndTasks}} instead. The result is changed configurations provided by the ConfigProvider are not picked up and existing tasks continue to use outdated configuration. -- This message was sent by Atlassian Jira (v8.20.7#820007)