You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sagar Rao (Jira)" <ji...@apache.org> on 2022/08/20 09:57:00 UTC

[jira] [Assigned] (KAFKA-14015) ConfigProvider with ttl fails to restart tasks

     [ https://issues.apache.org/jira/browse/KAFKA-14015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagar Rao reassigned KAFKA-14015:
---------------------------------

    Assignee: Sagar Rao

> 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
>            Assignee: Sagar Rao
>            Priority: Major
>
> 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.10#820010)