Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kafka/protocol/new/schemas/resources/OffsetCommitRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"about": "The message offset to be committed." },
{ "name": "CommittedLeaderEpoch", "type": "int32", "versions": "6+", "default": "-1", "ignorable": true,
"about": "The leader epoch of this partition." },
{ "name": "CommitTimestamp", "type": "int64", "versions": "1", "default": "-1",
"about": "The timestamp of the commit." },
{ "name": "CommittedMetadata", "type": "string", "versions": "0+", "nullableVersions": "0+",
"about": "Any associated metadata the client wants to keep." }
]}
Expand Down
1 change: 1 addition & 0 deletions test/protocol/new/consumer/test_new_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ def test_offset_commit_request_roundtrip(version):
partition_index=0,
committed_offset=100,
committed_leader_epoch=1 if version >= 6 else -1,
commit_timestamp=1 if version == 1 else -1,
committed_metadata="meta"
)
]
Expand Down
Loading