图片解析应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

  1. from __future__ import absolute_import
  2. API_KEYS = {
  3. 0: 'Produce',
  4. 1: 'Fetch',
  5. 2: 'ListOffsets',
  6. 3: 'Metadata',
  7. 4: 'LeaderAndIsr',
  8. 5: 'StopReplica',
  9. 6: 'UpdateMetadata',
  10. 7: 'ControlledShutdown',
  11. 8: 'OffsetCommit',
  12. 9: 'OffsetFetch',
  13. 10: 'FindCoordinator',
  14. 11: 'JoinGroup',
  15. 12: 'Heartbeat',
  16. 13: 'LeaveGroup',
  17. 14: 'SyncGroup',
  18. 15: 'DescribeGroups',
  19. 16: 'ListGroups',
  20. 17: 'SaslHandshake',
  21. 18: 'ApiVersions',
  22. 19: 'CreateTopics',
  23. 20: 'DeleteTopics',
  24. 21: 'DeleteRecords',
  25. 22: 'InitProducerId',
  26. 23: 'OffsetForLeaderEpoch',
  27. 24: 'AddPartitionsToTxn',
  28. 25: 'AddOffsetsToTxn',
  29. 26: 'EndTxn',
  30. 27: 'WriteTxnMarkers',
  31. 28: 'TxnOffsetCommit',
  32. 29: 'DescribeAcls',
  33. 30: 'CreateAcls',
  34. 31: 'DeleteAcls',
  35. 32: 'DescribeConfigs',
  36. 33: 'AlterConfigs',
  37. 36: 'SaslAuthenticate',
  38. 37: 'CreatePartitions',
  39. 38: 'CreateDelegationToken',
  40. 39: 'RenewDelegationToken',
  41. 40: 'ExpireDelegationToken',
  42. 41: 'DescribeDelegationToken',
  43. 42: 'DeleteGroups',
  44. }