Versions Compared

Key

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

...

Code Block
titleOffsetCommit Protocol - Version 6
OffsetCommit Request (Version: 6) => group_id generation_id member_id retention_time [topics] 
  group_id => STRING
  generation_id => INT32
  member_id => STRING
  retention_time => INT64
  topics => topic [partitions] 
    topic => STRING
    partitions => partition offset metadata 
      partition => INT32
      offset => INT64
      metadata => NULLABLE_STRING


OffsetCommit Response (Version: 6) => throttle_time_ms [responses] 
  throttle_time_ms => INT32
  responses => topic [partition_responses] 
    topic => STRING
    partition_responses => partition error_code 
      partition => INT32
      error_code => INT16

Client Side Changes

If users explicitly use "" as the group id the client will switch to using version 5 of the OffsetCommit API for offset commits. For all other group ids version 6 will be used.

After the next major release the requests with an empty group id will also be handled by version 6 of the API, which results in an INVALID_GROUP_ID error.


Compatibility, Deprecation, and Migration Plan

...