THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ "apiKey": N, "type": "response", "name": "FetchQuorumRecordsResponse", "validVersions": "0", "fields": [ {"name": "ErrorCode", "type": "int16", "versions": "0+"}, {"name": "LeaderId", "type": "int32", "versions": "0+", "about": "The ID of the current leader or -1 if the leader is unknown."}, {"name": "LeaderEpoch", "type": "int32", "versions": "0+", "about": "The latest known leader epoch"} {"name": "NextFetchOffset", "type": "int64", "versions": "0+", "about": "If set, this is the offset that the follower should truncate to"}, {"name": "NextFetchOffsetEpoch", "type": "int32", "versions": "0+", "about": "The epoch of the next offset in case the follower needs to truncate"}, {"name": "Records", "type": "bytes", "versions": "0+", "about": "The fetched record data"}, {"name": "HighWatermark", "type": "int64", "versions": "0+", "about": "The current high watermark"}, {"name": "FirstDirtyOffset", "type": "int64", "versions": "0+", "about": "First dirty offset which allows followers to determine consistent snapshots"}, {"name": "LastCaughtUpTimeMs", "type": "int64", "versions": "0+", "about": "The last time the follower was caught up with a majority of the voters"} ] } |
...
Code Block |
---|
{ "apiKey": N, "type": "response", "name": "DescribeQuorumResponse", "validVersions": "0", "flexibleVersions": "0+", "fields": [ {"name": "ErrorCode", "type": "int16", "versions": "0+"}, {"name": "LeaderId", "type": "int32", "versions": "0+", "about": "The ID of the current leader or -1 if the leader is unknown."}, {"name": "LeaderEpoch", "type": "int32", "versions": "0+", "about": "The latest known leader epoch"}, {"name": "HighWatermark", "type": "int64", "versions": "0+"}, {"name": "CurrentVoters", "type": "[]VoterState", "versions": "0+" }, {"name": "TargetVoters", "type": "[]VoterState", "versions": "0+" } ], "commonStructs": [ {"name": "VoterState", "versions": "0+", "fields": [ { "name": "VoterId", "type": "int32", "versions": "0+"}, { "name": "LogEndOffset", "type": "int64", "versions": "0+", "about": "The last known log end offset of the follower or -1 if it is unknown"}, { "name": "LastCaughtUpTimeMs", "type": "int64", "versions": "0+", "about": "The last time the follower was caught up to the high watermark"}, ]} ] } |
...