Versions Compared

Key

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

...

---------------------------------------------------------------------------------------

JoinGroupRequest

 

Code Block
{
  Version                => int16
  CorrelationId          => int64
  GroupId                => String
  ConsumerAddr           => String
  
 SessionTimeout
SessionTimeout         => int64
  Subscribing            => [String]
}

 

JoinGroupResponse

 

Code Block
{
  Version                => int16
  CorrelationId          => int64
  ErrorCode              => int16
  Generation             => int16
  GroupId GroupId                => String 
  ConsumerId             => String
  PartitionsToOwn        => [<TopicAndPartition>]
}

Note that the consumer id is assigned by the coordinator upon joining the group, which is then used in heartbeat protocol and offset management.

Consumer Group Rebalance

The coordinator will trigger rebalance under the following conditions:

...