lucasbru opened a new pull request, #21433:
URL: https://github.com/apache/kafka/pull/21433

   ## Summary
   
   When using the streams group protocol (`group.protocol=streams`), the 
consumer always leaves the group on close, regardless of whether 
`REMAIN_IN_GROUP` was specified. This differs from the classic protocol 
behavior where the consumer does not leave the group explicitly by default.
   
   This PR documents this behavior in the javadocs for 
`CloseOptions.GroupMembershipOperation`, `KafkaStreams.close()`, and 
`KafkaStreams.close(Duration)`, and adds an INFO log message when a close 
occurs with the streams protocol to inform users about this behavior.
   
   ## Test plan
   
   - Verified checkstyle and spotlessCheck pass
   - Documentation-only changes with minor log addition


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to