THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
{ "apiKey": N, "type": "request", "name": "EndQuorumEpochRequest", "validVersions": "0", "fields": [ {"name": "ClusterId", "type": "string", "versions": "0+"}, {"name": "ReplicaId", "type": "int32", "versions": "0+", "about": "The ID of the replica sending this request"}, {"name": "LeaderId", "type": "int32", "versions": "0+", "about": "The current leader ID or -1 if there is a vote in progress"}, {"name": "LeaderEpoch", "type": "int32", "versions": "0+", "about": "The current epoch"} ] } |
Note that LeaderId
and ReplicaId
will be the same if the leader has been voted. If the replica is a candidate in a current election, then LeaderId
will be -1.
...