[
https://issues.apache.org/jira/browse/KAFKA-18919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932529#comment-17932529
]
Chia-Ping Tsai commented on KAFKA-18919:
----------------------------------------
nice find. The doc improvement should be included by 4.0, so I open the
KAFKA-18922 to do cleanup
> Clarify that KafkaPrincipalBuilder classes must also implement
> KafkaPrincipalSerde
> ----------------------------------------------------------------------------------
>
> Key: KAFKA-18919
> URL: https://issues.apache.org/jira/browse/KAFKA-18919
> Project: Kafka
> Issue Type: Task
> Reporter: Mickael Maison
> Assignee: Szu-Yung Wang
> Priority: Major
>
> In KRaft, custom KafkaPrincipalBuilder implementations must also implement
> KafkaPrincipalSerde, otherwise brokers are not able to forward requests to
> the controller.
> So we need to update our docs.
> We should also be able to do some cleanup in the code. For example
> RequestContext uses Optional<KafkaPrincipalSerde>, we should be able to
> remove Optional since it's now always present.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)