You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2020/12/03 15:22:00 UTC

[jira] [Commented] (KAFKA-7588) Rationalize configurations passed to pluggable APIs

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

Ismael Juma commented on KAFKA-7588:
------------------------------------

Seems like the PR was merged, so this Jira should be closed.

> Rationalize configurations passed to pluggable APIs
> ---------------------------------------------------
>
>                 Key: KAFKA-7588
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7588
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Mickael Maison
>            Assignee: Mickael Maison
>            Priority: Major
>
> There are a lot of extensions points both on the client and server sides. Most of these pluggable APIs are configurable but the configurations they receive are not the same.
> For example, Serializers, Deserializers, Partitioners, Assignors, QuotaCallbacks are passed config.originals(). On the other hand LoginModules, PrincipalBuilders and AuthenticationCallbackHandlers are passed config.values().
> In practice, having access to originals() is nice as it allows to use custom configurations by simply adding it to the client/server configuration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)