Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently, the Streams Protocol implementation in StreamsGroupHeartbeatManager does not honor REMAIN_IN_GROUP. This gap must be addressed as part of this KIP to ensure the option functions correctly end-to-end under KIP-1071: Streams Rebalance Protocol#Compatibility,DeprecationandMigrationPlan.

Behavior Matrix

Streams CloseOptionClassic Protocol (Dynamic Member)Classic Protocol (Static Member)Streams Protocol (Dynamic Member)Streams Protocol (Static Member)
close() (current) [1]Consumer REMAINConsumer REMAINConsumer LEAVE
N/A
Consumer LEAVE
close() (new) [2]Consumer REMAINConsumer REMAINConsumer DEFAULT (LEAVE)Consumer DEFAULT (REMAIN)
close(REMAIN_IN_GROUP) (current)Consumer REMAINConsumer REMAINConsumer LEAVE
N/A
Consumer LEAVE
close(REMAIN_IN_GROUP) (new)Consumer REMAINConsumer REMAINConsumer REMAINConsumer REMAIN
close(LEAVE_GROUP) (current)Consumer LEAVEConsumer LEAVEConsumer LEAVE
N/A
Consumer LEAVE
close(LEAVE_GROUP) (new)Consumer LEAVEConsumer LEAVEConsumer LEAVEConsumer LEAVE

Legend:

  1. close() (current) internally delegates to close(REMAIN_IN_GROUP) 
  2. close() (new) internally delegates to close(DEFAULT) 

...