Browse Source

MINOR: Fix some field definitions for ListOffsetReponse (#6214)

Reviewers: Jun Rao <junrao@gmail.com>
pull/6225/head
Colin Patrick McCabe 6 years ago committed by GitHub
parent
commit
2ca54cfd33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      clients/src/main/resources/common/message/ListOffsetResponse.json

5
clients/src/main/resources/common/message/ListOffsetResponse.json

@ -39,9 +39,10 @@ @@ -39,9 +39,10 @@
"about": "The partition error code, or 0 if there was no error." },
{ "name": "OldStyleOffsets", "type": "[]int64", "versions": "0", "ignorable": false,
"about": "The result offsets." },
{ "name": "Timestamp", "type": "int64", "versions": "1+" },
{ "name": "Offset", "type": "int64", "versions": "1+",
{ "name": "Timestamp", "type": "int64", "versions": "1+", "default": "-1", "ignorable": false,
"about": "The timestamp associated with the returned offset." },
{ "name": "Offset", "type": "int64", "versions": "1+", "default": "-1", "ignorable": false,
"about": "The returned offset." },
{ "name": "LeaderEpoch", "type": "int32", "versions": "4+" }
]}
]}

Loading…
Cancel
Save