[ https://issues.apache.org/jira/browse/KAFKA-18919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai updated KAFKA-18919: ----------------------------------- Description: 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 was: 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. > 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.- moved to KAFKA-18922 -- This message was sent by Atlassian Jira (v8.20.10#820010)