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

[jira] [Commented] (KAFKA-14823) Clean up ConfigProvider API

    [ https://issues.apache.org/jira/browse/KAFKA-14823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702932#comment-17702932 ] 

Greg Harris commented on KAFKA-14823:
-------------------------------------

Connect currently has an issue where secrets can be changed on-disk, but do not trigger connector and task restarts. Implementing the subscribe/unsubscribe hooks would help alleviate this problem and make rotating secrets for connectors more predictable.

> Clean up ConfigProvider API
> ---------------------------
>
>                 Key: KAFKA-14823
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14823
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Mickael Maison
>            Priority: Major
>
> The ConfigProvider interface exposes several methods that are not used:
> - ConfigData get(String path)
> - default void subscribe(String path, Set<String> keys, ConfigChangeCallback callback)
> - default void unsubscribe(String path, Set<String> keys, ConfigChangeCallback callback)
> - default void unsubscribeAll()
> We should either build mechanisms to support them or deprecate them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)