[ https://issues.apache.org/jira/browse/KAFKA-18919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-18919. ------------------------------------ Resolution: Fixed trunk: https://github.com/apache/kafka/commit/6ecf6817ad3fcfc91f3d35caaf4ea37d1f83f9fa 4.0: https://github.com/apache/kafka/commit/22d79b203ae291e65513353a8f7f8e68a5ea57d7 > Clarify that KafkaPrincipalBuilder classes must also implement > KafkaPrincipalSerde > ---------------------------------------------------------------------------------- > > Key: KAFKA-18919 > URL: https://issues.apache.org/jira/browse/KAFKA-18919 > Project: Kafka > Issue Type: Sub-task > Reporter: Mickael Maison > Assignee: Szu-Yung Wang > Priority: Major > Fix For: 4.0.0 > > > 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.- moved to KAFKA-18922 -- This message was sent by Atlassian Jira (v8.20.10#820010)