#[repr(i16)]pub enum ApiKey {
Show 93 variants
Produce = 0,
Fetch = 1,
ListOffsets = 2,
Metadata = 3,
LeaderAndIsr = 4,
StopReplica = 5,
UpdateMetadata = 6,
ControlledShutdown = 7,
OffsetCommit = 8,
OffsetFetch = 9,
FindCoordinator = 10,
JoinGroup = 11,
Heartbeat = 12,
LeaveGroup = 13,
SyncGroup = 14,
DescribeGroups = 15,
ListGroups = 16,
SaslHandshake = 17,
ApiVersions = 18,
CreateTopics = 19,
DeleteTopics = 20,
DeleteRecords = 21,
InitProducerId = 22,
OffsetForLeaderEpoch = 23,
AddPartitionsToTxn = 24,
AddOffsetsToTxn = 25,
EndTxn = 26,
WriteTxnMarkers = 27,
TxnOffsetCommit = 28,
DescribeAcls = 29,
CreateAcls = 30,
DeleteAcls = 31,
DescribeConfigs = 32,
AlterConfigs = 33,
AlterReplicaLogDirs = 34,
DescribeLogDirs = 35,
SaslAuthenticate = 36,
CreatePartitions = 37,
CreateDelegationToken = 38,
RenewDelegationToken = 39,
ExpireDelegationToken = 40,
DescribeDelegationToken = 41,
DeleteGroups = 42,
ElectLeaders = 43,
IncrementalAlterConfigs = 44,
AlterPartitionReassignments = 45,
ListPartitionReassignments = 46,
OffsetDelete = 47,
DescribeClientQuotas = 48,
AlterClientQuotas = 49,
DescribeUserScramCredentials = 50,
AlterUserScramCredentials = 51,
Vote = 52,
BeginQuorumEpoch = 53,
EndQuorumEpoch = 54,
DescribeQuorum = 55,
AlterPartition = 56,
UpdateFeatures = 57,
Envelope = 58,
FetchSnapshot = 59,
DescribeCluster = 60,
DescribeProducers = 61,
BrokerRegistration = 62,
BrokerHeartbeat = 63,
UnregisterBroker = 64,
DescribeTransactions = 65,
ListTransactions = 66,
AllocateProducerIds = 67,
ConsumerGroupHeartbeat = 68,
ConsumerGroupDescribe = 69,
ControllerRegistration = 70,
GetTelemetrySubscriptions = 71,
PushTelemetry = 72,
AssignReplicasToDirs = 73,
ListConfigResources = 74,
DescribeTopicPartitions = 75,
ShareGroupHeartbeat = 76,
ShareGroupDescribe = 77,
ShareFetch = 78,
ShareAcknowledge = 79,
AddRaftVoter = 80,
RemoveRaftVoter = 81,
UpdateRaftVoter = 82,
InitializeShareGroupState = 83,
ReadShareGroupState = 84,
WriteShareGroupState = 85,
DeleteShareGroupState = 86,
ReadShareGroupStateSummary = 87,
StreamsGroupHeartbeat = 88,
StreamsGroupDescribe = 89,
DescribeShareGroupOffsets = 90,
AlterShareGroupOffsets = 91,
DeleteShareGroupOffsets = 92,
}Expand description
Kafka API keys for request dispatch.
Variants§
Produce = 0
Fetch = 1
ListOffsets = 2
Metadata = 3
LeaderAndIsr = 4
StopReplica = 5
UpdateMetadata = 6
ControlledShutdown = 7
OffsetCommit = 8
OffsetFetch = 9
FindCoordinator = 10
JoinGroup = 11
Heartbeat = 12
LeaveGroup = 13
SyncGroup = 14
DescribeGroups = 15
ListGroups = 16
SaslHandshake = 17
ApiVersions = 18
CreateTopics = 19
DeleteTopics = 20
DeleteRecords = 21
InitProducerId = 22
OffsetForLeaderEpoch = 23
AddPartitionsToTxn = 24
AddOffsetsToTxn = 25
EndTxn = 26
WriteTxnMarkers = 27
TxnOffsetCommit = 28
DescribeAcls = 29
CreateAcls = 30
DeleteAcls = 31
DescribeConfigs = 32
AlterConfigs = 33
AlterReplicaLogDirs = 34
DescribeLogDirs = 35
SaslAuthenticate = 36
CreatePartitions = 37
CreateDelegationToken = 38
RenewDelegationToken = 39
ExpireDelegationToken = 40
DescribeDelegationToken = 41
DeleteGroups = 42
ElectLeaders = 43
IncrementalAlterConfigs = 44
AlterPartitionReassignments = 45
ListPartitionReassignments = 46
OffsetDelete = 47
DescribeClientQuotas = 48
AlterClientQuotas = 49
DescribeUserScramCredentials = 50
AlterUserScramCredentials = 51
Vote = 52
BeginQuorumEpoch = 53
EndQuorumEpoch = 54
DescribeQuorum = 55
AlterPartition = 56
UpdateFeatures = 57
Envelope = 58
FetchSnapshot = 59
DescribeCluster = 60
DescribeProducers = 61
BrokerRegistration = 62
BrokerHeartbeat = 63
UnregisterBroker = 64
DescribeTransactions = 65
ListTransactions = 66
AllocateProducerIds = 67
ConsumerGroupHeartbeat = 68
ConsumerGroupDescribe = 69
ControllerRegistration = 70
GetTelemetrySubscriptions = 71
PushTelemetry = 72
AssignReplicasToDirs = 73
ListConfigResources = 74
DescribeTopicPartitions = 75
AddRaftVoter = 80
RemoveRaftVoter = 81
UpdateRaftVoter = 82
StreamsGroupHeartbeat = 88
StreamsGroupDescribe = 89
Implementations§
Trait Implementations§
impl Copy for ApiKey
impl Eq for ApiKey
impl StructuralPartialEq for ApiKey
Auto Trait Implementations§
impl Freeze for ApiKey
impl RefUnwindSafe for ApiKey
impl Send for ApiKey
impl Sync for ApiKey
impl Unpin for ApiKey
impl UnsafeUnpin for ApiKey
impl UnwindSafe for ApiKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more