Hi Gokul. I looked back at the discussion thread, and it appears it was an arbitrary decision.
https://lists.apache.org/thread.html/45c09f226386c0b1dc5f9b36e112882a20414d5900f8d778969e633e%40%3Cdev.kafka.apache.org%3E Ron On Thu, Sep 24, 2020 at 11:03 AM Gokul Ramanan Subramanian < gokul24...@gmail.com> wrote: > Hi. > > I was looking through Kafka code and found that SASL KafkaPrincipals are > not supposed to change upon reauthentication, and if they do, the broker > will kill the TCP connection. > > What is the reasoning behind this limitation? > > Thanks. >