Versions Compared

Key

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

...

Code Block
{
  Version                => int16
  CorrelationId          => int64
  GroupId                => String
  ConsumerId             => String
}

 

 

Code Block
{
  Version                => int16
  CorrelationId          => int64
  GroupId                => String
  ConsumerId             => String
}

 

PingResponse

...

Format below:

Code Block
{
  Version                => int16
  CorrelationId          => int64
  ErrorCode              => int16
}
 

Consumer Failure Handling

...

MetadataRequest

 

Eclipse
Code Block
theme
languageactionscript3
{
  Version                => int16
  CorrelationId          => int64
  ClientId               => String
  Topics                 => [String]
  GroupIds               => [String]
}
 

This MetadataRequest inherits from the TopicMetadataRequest in 0.8.

MetadataResponse

theme
Code Block
Eclipse
languageactionscript3
{
  Version                => int16
  CorrelationId          => int64
  Brokers                => [Broker]
  TopicsMetadata         => [TopicMetadata]
  CoordinatorIds         => [int16]
}

...

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

JoinGroupRequest

...

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

 

JoinGroupResponse

...

actionscript3
Code Block
themeEclipse
language
{
  Version                => int16
  CorrelationId          => int64
  ErrorCode              => int16
  Generation             => int16
  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.

...