title: Message Stream Modified (41) or Timeout for kafka client
body: <p>I am having some issue with a kafka client configuration using kerberos to authenticate from a realm to the realm of the kafka brokers.</p>
  
  <p>I receive the error Krb5LoginModule] authentication failed
  <strong>Message stream modified (41)</strong></p>
  
  <p>I found on the internet to edit the krb5.conf file and delete the <strong>renew_lifetime property</strong>. Once I do that, the call to kafka brokers goes in timeout, even if kerberos commit is done successfully. </p>
  
  <p>I am using the same principal that other kafka clients use in the same realm to obtain service from the same kafka brokers, so I don't understand why it should be different. </p>
  
  <p>I tried to add this option: <strong>sun.security.krb5.disablereferrals=true</strong> to the java.security file of the client, but nothing changed. </p>
  
  <p>Can you help me? Any idea?</p>
  
  <p>Sorry I am new and have only a little experience.</p>