kafka-python 3.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. kafka/__init__.py +34 -0
  2. kafka/__main__.py +5 -0
  3. kafka/admin/__init__.py +29 -0
  4. kafka/admin/__main__.py +5 -0
  5. kafka/admin/_acls.py +355 -0
  6. kafka/admin/_cluster.py +359 -0
  7. kafka/admin/_configs.py +479 -0
  8. kafka/admin/_groups.py +754 -0
  9. kafka/admin/_partitions.py +595 -0
  10. kafka/admin/_topics.py +281 -0
  11. kafka/admin/_transactions.py +450 -0
  12. kafka/admin/_users.py +194 -0
  13. kafka/admin/client.py +373 -0
  14. kafka/benchmarks/__init__.py +0 -0
  15. kafka/benchmarks/consumer_performance.py +138 -0
  16. kafka/benchmarks/load_example.py +109 -0
  17. kafka/benchmarks/producer_encode_path.py +201 -0
  18. kafka/benchmarks/producer_performance.py +161 -0
  19. kafka/benchmarks/profile_protocol.py +138 -0
  20. kafka/benchmarks/protocol_old_vs_new.py +447 -0
  21. kafka/benchmarks/record_batch_compose.py +77 -0
  22. kafka/benchmarks/record_batch_read.py +82 -0
  23. kafka/benchmarks/varint_speed.py +426 -0
  24. kafka/cli/__init__.py +36 -0
  25. kafka/cli/admin/__init__.py +117 -0
  26. kafka/cli/admin/acls/__init__.py +9 -0
  27. kafka/cli/admin/acls/common.py +76 -0
  28. kafka/cli/admin/acls/create.py +19 -0
  29. kafka/cli/admin/acls/delete.py +23 -0
  30. kafka/cli/admin/acls/describe.py +16 -0
  31. kafka/cli/admin/cluster/__init__.py +14 -0
  32. kafka/cli/admin/cluster/describe.py +11 -0
  33. kafka/cli/admin/cluster/describe_quorum.py +11 -0
  34. kafka/cli/admin/cluster/features.py +52 -0
  35. kafka/cli/admin/cluster/log_dirs.py +43 -0
  36. kafka/cli/admin/cluster/versions.py +33 -0
  37. kafka/cli/admin/configs/__init__.py +10 -0
  38. kafka/cli/admin/configs/alter.py +43 -0
  39. kafka/cli/admin/configs/common.py +17 -0
  40. kafka/cli/admin/configs/describe.py +30 -0
  41. kafka/cli/admin/configs/list.py +16 -0
  42. kafka/cli/admin/configs/reset.py +20 -0
  43. kafka/cli/admin/groups/__init__.py +16 -0
  44. kafka/cli/admin/groups/alter_offsets.py +30 -0
  45. kafka/cli/admin/groups/delete.py +11 -0
  46. kafka/cli/admin/groups/delete_offsets.py +29 -0
  47. kafka/cli/admin/groups/describe.py +11 -0
  48. kafka/cli/admin/groups/list.py +28 -0
  49. kafka/cli/admin/groups/list_offsets.py +29 -0
  50. kafka/cli/admin/groups/remove_members.py +40 -0
  51. kafka/cli/admin/groups/reset_offsets.py +139 -0
  52. kafka/cli/admin/partitions/__init__.py +21 -0
  53. kafka/cli/admin/partitions/alter_reassignments.py +37 -0
  54. kafka/cli/admin/partitions/create.py +27 -0
  55. kafka/cli/admin/partitions/delete_records.py +31 -0
  56. kafka/cli/admin/partitions/describe.py +36 -0
  57. kafka/cli/admin/partitions/elect_leaders.py +53 -0
  58. kafka/cli/admin/partitions/list_offsets.py +88 -0
  59. kafka/cli/admin/partitions/list_reassignments.py +35 -0
  60. kafka/cli/admin/topics/__init__.py +10 -0
  61. kafka/cli/admin/topics/create.py +13 -0
  62. kafka/cli/admin/topics/delete.py +19 -0
  63. kafka/cli/admin/topics/describe.py +18 -0
  64. kafka/cli/admin/topics/list.py +11 -0
  65. kafka/cli/admin/transactions/__init__.py +17 -0
  66. kafka/cli/admin/transactions/abort.py +38 -0
  67. kafka/cli/admin/transactions/describe.py +24 -0
  68. kafka/cli/admin/transactions/describe_producers.py +29 -0
  69. kafka/cli/admin/transactions/find_hanging.py +26 -0
  70. kafka/cli/admin/transactions/list.py +37 -0
  71. kafka/cli/admin/users/__init__.py +8 -0
  72. kafka/cli/admin/users/alter_user_scram_credentials.py +34 -0
  73. kafka/cli/admin/users/describe_user_scram_credentials.py +15 -0
  74. kafka/cli/common.py +95 -0
  75. kafka/cli/consumer/__init__.py +63 -0
  76. kafka/cli/producer/__init__.py +57 -0
  77. kafka/cluster.py +824 -0
  78. kafka/codec.py +325 -0
  79. kafka/consumer/__init__.py +5 -0
  80. kafka/consumer/__main__.py +5 -0
  81. kafka/consumer/fetcher.py +2012 -0
  82. kafka/consumer/group.py +1347 -0
  83. kafka/consumer/subscription_state.py +897 -0
  84. kafka/coordinator/__init__.py +0 -0
  85. kafka/coordinator/assignors/__init__.py +0 -0
  86. kafka/coordinator/assignors/abstract.py +90 -0
  87. kafka/coordinator/assignors/cooperative_sticky.py +167 -0
  88. kafka/coordinator/assignors/range.py +81 -0
  89. kafka/coordinator/assignors/roundrobin.py +101 -0
  90. kafka/coordinator/assignors/sticky/StickyAssignorUserData.json +37 -0
  91. kafka/coordinator/assignors/sticky/__init__.py +0 -0
  92. kafka/coordinator/assignors/sticky/partition_movements.py +149 -0
  93. kafka/coordinator/assignors/sticky/sorted_set.py +63 -0
  94. kafka/coordinator/assignors/sticky/sticky_assignor.py +665 -0
  95. kafka/coordinator/assignors/sticky/user_data.py +8 -0
  96. kafka/coordinator/base.py +1215 -0
  97. kafka/coordinator/consumer.py +1224 -0
  98. kafka/coordinator/heartbeat.py +82 -0
  99. kafka/coordinator/subscription.py +34 -0
  100. kafka/errors.py +1004 -0
  101. kafka/future.py +166 -0
  102. kafka/metrics/__init__.py +13 -0
  103. kafka/metrics/compound_stat.py +33 -0
  104. kafka/metrics/dict_reporter.py +81 -0
  105. kafka/metrics/kafka_metric.py +36 -0
  106. kafka/metrics/measurable.py +27 -0
  107. kafka/metrics/measurable_stat.py +13 -0
  108. kafka/metrics/metric_config.py +33 -0
  109. kafka/metrics/metric_name.py +105 -0
  110. kafka/metrics/metrics.py +261 -0
  111. kafka/metrics/metrics_reporter.py +53 -0
  112. kafka/metrics/quota.py +41 -0
  113. kafka/metrics/stat.py +19 -0
  114. kafka/metrics/stats/__init__.py +15 -0
  115. kafka/metrics/stats/avg.py +24 -0
  116. kafka/metrics/stats/count.py +17 -0
  117. kafka/metrics/stats/histogram.py +99 -0
  118. kafka/metrics/stats/max_stat.py +17 -0
  119. kafka/metrics/stats/min_stat.py +19 -0
  120. kafka/metrics/stats/percentile.py +14 -0
  121. kafka/metrics/stats/percentiles.py +75 -0
  122. kafka/metrics/stats/rate.py +118 -0
  123. kafka/metrics/stats/sampled_stat.py +99 -0
  124. kafka/metrics/stats/sensor.py +136 -0
  125. kafka/metrics/stats/total.py +15 -0
  126. kafka/net/__init__.py +19 -0
  127. kafka/net/compat.py +165 -0
  128. kafka/net/connection.py +593 -0
  129. kafka/net/http_connect.py +144 -0
  130. kafka/net/inet.py +122 -0
  131. kafka/net/manager.py +451 -0
  132. kafka/net/metrics.py +149 -0
  133. kafka/net/sasl/__init__.py +32 -0
  134. kafka/net/sasl/abc.py +28 -0
  135. kafka/net/sasl/gssapi.py +95 -0
  136. kafka/net/sasl/msk.py +245 -0
  137. kafka/net/sasl/oauth.py +98 -0
  138. kafka/net/sasl/plain.py +42 -0
  139. kafka/net/sasl/scram.py +135 -0
  140. kafka/net/sasl/sspi.py +111 -0
  141. kafka/net/selector.py +644 -0
  142. kafka/net/socks5.py +262 -0
  143. kafka/net/transport.py +415 -0
  144. kafka/net/wakeup_notifier.py +72 -0
  145. kafka/partitioner/__init__.py +8 -0
  146. kafka/partitioner/abc.py +8 -0
  147. kafka/partitioner/default.py +89 -0
  148. kafka/partitioner/sticky.py +109 -0
  149. kafka/producer/__init__.py +5 -0
  150. kafka/producer/__main__.py +5 -0
  151. kafka/producer/future.py +101 -0
  152. kafka/producer/kafka.py +1123 -0
  153. kafka/producer/producer_batch.py +192 -0
  154. kafka/producer/record_accumulator.py +647 -0
  155. kafka/producer/sender.py +884 -0
  156. kafka/producer/transaction_manager.py +1326 -0
  157. kafka/protocol/__init__.py +0 -0
  158. kafka/protocol/admin/__init__.py +29 -0
  159. kafka/protocol/admin/acl.py +83 -0
  160. kafka/protocol/admin/acl.pyi +375 -0
  161. kafka/protocol/admin/client_quotas.py +14 -0
  162. kafka/protocol/admin/client_quotas.pyi +265 -0
  163. kafka/protocol/admin/cluster.py +31 -0
  164. kafka/protocol/admin/cluster.pyi +620 -0
  165. kafka/protocol/admin/configs.py +22 -0
  166. kafka/protocol/admin/configs.pyi +437 -0
  167. kafka/protocol/admin/groups.py +24 -0
  168. kafka/protocol/admin/groups.pyi +261 -0
  169. kafka/protocol/admin/topics.py +53 -0
  170. kafka/protocol/admin/topics.pyi +982 -0
  171. kafka/protocol/admin/transactions.py +18 -0
  172. kafka/protocol/admin/transactions.pyi +311 -0
  173. kafka/protocol/admin/users.py +14 -0
  174. kafka/protocol/admin/users.pyi +223 -0
  175. kafka/protocol/api_data.py +125 -0
  176. kafka/protocol/api_header.py +55 -0
  177. kafka/protocol/api_key.py +97 -0
  178. kafka/protocol/api_message.py +277 -0
  179. kafka/protocol/broker_version_data.py +246 -0
  180. kafka/protocol/consumer/__init__.py +13 -0
  181. kafka/protocol/consumer/fetch.py +16 -0
  182. kafka/protocol/consumer/fetch.pyi +298 -0
  183. kafka/protocol/consumer/group.py +38 -0
  184. kafka/protocol/consumer/group.pyi +824 -0
  185. kafka/protocol/consumer/metadata.py +30 -0
  186. kafka/protocol/consumer/metadata.pyi +89 -0
  187. kafka/protocol/consumer/offsets.py +75 -0
  188. kafka/protocol/consumer/offsets.pyi +288 -0
  189. kafka/protocol/data_container.py +166 -0
  190. kafka/protocol/frame.py +30 -0
  191. kafka/protocol/generate_stubs.py +468 -0
  192. kafka/protocol/metadata/__init__.py +10 -0
  193. kafka/protocol/metadata/api_versions.py +41 -0
  194. kafka/protocol/metadata/api_versions.pyi +128 -0
  195. kafka/protocol/metadata/find_coordinator.py +19 -0
  196. kafka/protocol/metadata/find_coordinator.pyi +105 -0
  197. kafka/protocol/metadata/metadata.py +34 -0
  198. kafka/protocol/metadata/metadata.pyi +160 -0
  199. kafka/protocol/old/__init__.py +0 -0
  200. kafka/protocol/old/abstract.py +17 -0
  201. kafka/protocol/old/add_offsets_to_txn.py +54 -0
  202. kafka/protocol/old/add_partitions_to_txn.py +71 -0
  203. kafka/protocol/old/admin.py +1086 -0
  204. kafka/protocol/old/api.py +205 -0
  205. kafka/protocol/old/api_versions.py +133 -0
  206. kafka/protocol/old/commit.py +355 -0
  207. kafka/protocol/old/consumer_protocol.py +36 -0
  208. kafka/protocol/old/end_txn.py +53 -0
  209. kafka/protocol/old/fetch.py +408 -0
  210. kafka/protocol/old/find_coordinator.py +72 -0
  211. kafka/protocol/old/group.py +451 -0
  212. kafka/protocol/old/init_producer_id.py +42 -0
  213. kafka/protocol/old/list_offsets.py +186 -0
  214. kafka/protocol/old/metadata.py +290 -0
  215. kafka/protocol/old/offset_for_leader_epoch.py +133 -0
  216. kafka/protocol/old/produce.py +247 -0
  217. kafka/protocol/old/sasl_authenticate.py +38 -0
  218. kafka/protocol/old/sasl_handshake.py +39 -0
  219. kafka/protocol/old/struct.py +87 -0
  220. kafka/protocol/old/txn_offset_commit.py +73 -0
  221. kafka/protocol/old/types.py +440 -0
  222. kafka/protocol/parser.py +191 -0
  223. kafka/protocol/producer/__init__.py +7 -0
  224. kafka/protocol/producer/produce.py +17 -0
  225. kafka/protocol/producer/produce.pyi +197 -0
  226. kafka/protocol/producer/transaction.py +30 -0
  227. kafka/protocol/producer/transaction.pyi +663 -0
  228. kafka/protocol/sasl.py +52 -0
  229. kafka/protocol/sasl.pyi +126 -0
  230. kafka/protocol/schemas/__init__.py +7 -0
  231. kafka/protocol/schemas/fields/__init__.py +7 -0
  232. kafka/protocol/schemas/fields/array.py +127 -0
  233. kafka/protocol/schemas/fields/base.py +156 -0
  234. kafka/protocol/schemas/fields/codecs/__init__.py +12 -0
  235. kafka/protocol/schemas/fields/codecs/encode_buffer.py +82 -0
  236. kafka/protocol/schemas/fields/codecs/tagged_fields.py +109 -0
  237. kafka/protocol/schemas/fields/codecs/types.py +505 -0
  238. kafka/protocol/schemas/fields/codegen.py +40 -0
  239. kafka/protocol/schemas/fields/simple.py +127 -0
  240. kafka/protocol/schemas/fields/struct.py +357 -0
  241. kafka/protocol/schemas/fields/struct_array.py +142 -0
  242. kafka/protocol/schemas/load_json.py +42 -0
  243. kafka/protocol/schemas/resources/AddOffsetsToTxnRequest.json +40 -0
  244. kafka/protocol/schemas/resources/AddOffsetsToTxnResponse.json +35 -0
  245. kafka/protocol/schemas/resources/AddPartitionsToTxnRequest.json +65 -0
  246. kafka/protocol/schemas/resources/AddPartitionsToTxnResponse.json +60 -0
  247. kafka/protocol/schemas/resources/AlterClientQuotasRequest.json +47 -0
  248. kafka/protocol/schemas/resources/AlterClientQuotasResponse.json +41 -0
  249. kafka/protocol/schemas/resources/AlterConfigsRequest.json +43 -0
  250. kafka/protocol/schemas/resources/AlterConfigsResponse.json +39 -0
  251. kafka/protocol/schemas/resources/AlterPartitionReassignmentsRequest.json +42 -0
  252. kafka/protocol/schemas/resources/AlterPartitionReassignmentsResponse.json +47 -0
  253. kafka/protocol/schemas/resources/AlterReplicaLogDirsRequest.json +41 -0
  254. kafka/protocol/schemas/resources/AlterReplicaLogDirsResponse.json +41 -0
  255. kafka/protocol/schemas/resources/AlterUserScramCredentialsRequest.json +45 -0
  256. kafka/protocol/schemas/resources/AlterUserScramCredentialsResponse.json +35 -0
  257. kafka/protocol/schemas/resources/ApiVersionsRequest.json +34 -0
  258. kafka/protocol/schemas/resources/ApiVersionsResponse.json +79 -0
  259. kafka/protocol/schemas/resources/ConsumerProtocolAssignment.json +42 -0
  260. kafka/protocol/schemas/resources/ConsumerProtocolSubscription.json +49 -0
  261. kafka/protocol/schemas/resources/CreateAclsRequest.json +46 -0
  262. kafka/protocol/schemas/resources/CreateAclsResponse.json +37 -0
  263. kafka/protocol/schemas/resources/CreatePartitionsRequest.json +47 -0
  264. kafka/protocol/schemas/resources/CreatePartitionsResponse.json +41 -0
  265. kafka/protocol/schemas/resources/CreateTopicsRequest.json +65 -0
  266. kafka/protocol/schemas/resources/CreateTopicsResponse.json +72 -0
  267. kafka/protocol/schemas/resources/DeleteAclsRequest.json +46 -0
  268. kafka/protocol/schemas/resources/DeleteAclsResponse.json +59 -0
  269. kafka/protocol/schemas/resources/DeleteGroupsRequest.json +30 -0
  270. kafka/protocol/schemas/resources/DeleteGroupsResponse.json +36 -0
  271. kafka/protocol/schemas/resources/DeleteRecordsRequest.json +42 -0
  272. kafka/protocol/schemas/resources/DeleteRecordsResponse.json +43 -0
  273. kafka/protocol/schemas/resources/DeleteTopicsRequest.json +43 -0
  274. kafka/protocol/schemas/resources/DeleteTopicsResponse.json +52 -0
  275. kafka/protocol/schemas/resources/DescribeAclsRequest.json +43 -0
  276. kafka/protocol/schemas/resources/DescribeAclsResponse.json +55 -0
  277. kafka/protocol/schemas/resources/DescribeClientQuotasRequest.json +37 -0
  278. kafka/protocol/schemas/resources/DescribeClientQuotasResponse.json +47 -0
  279. kafka/protocol/schemas/resources/DescribeClusterRequest.json +35 -0
  280. kafka/protocol/schemas/resources/DescribeClusterResponse.json +56 -0
  281. kafka/protocol/schemas/resources/DescribeConfigsRequest.json +42 -0
  282. kafka/protocol/schemas/resources/DescribeConfigsResponse.json +69 -0
  283. kafka/protocol/schemas/resources/DescribeGroupsRequest.json +38 -0
  284. kafka/protocol/schemas/resources/DescribeGroupsResponse.json +74 -0
  285. kafka/protocol/schemas/resources/DescribeLogDirsRequest.json +38 -0
  286. kafka/protocol/schemas/resources/DescribeLogDirsResponse.json +65 -0
  287. kafka/protocol/schemas/resources/DescribeProducersRequest.json +32 -0
  288. kafka/protocol/schemas/resources/DescribeProducersResponse.json +55 -0
  289. kafka/protocol/schemas/resources/DescribeQuorumRequest.json +39 -0
  290. kafka/protocol/schemas/resources/DescribeQuorumResponse.json +82 -0
  291. kafka/protocol/schemas/resources/DescribeTopicPartitionsRequest.json +40 -0
  292. kafka/protocol/schemas/resources/DescribeTopicPartitionsResponse.json +66 -0
  293. kafka/protocol/schemas/resources/DescribeTransactionsRequest.json +27 -0
  294. kafka/protocol/schemas/resources/DescribeTransactionsResponse.json +52 -0
  295. kafka/protocol/schemas/resources/DescribeUserScramCredentialsRequest.json +30 -0
  296. kafka/protocol/schemas/resources/DescribeUserScramCredentialsResponse.json +45 -0
  297. kafka/protocol/schemas/resources/ElectLeadersRequest.json +41 -0
  298. kafka/protocol/schemas/resources/ElectLeadersResponse.json +45 -0
  299. kafka/protocol/schemas/resources/EndTxnRequest.json +43 -0
  300. kafka/protocol/schemas/resources/EndTxnResponse.json +41 -0
  301. kafka/protocol/schemas/resources/FetchRequest.json +125 -0
  302. kafka/protocol/schemas/resources/FetchResponse.json +124 -0
  303. kafka/protocol/schemas/resources/FindCoordinatorRequest.json +43 -0
  304. kafka/protocol/schemas/resources/FindCoordinatorResponse.json +58 -0
  305. kafka/protocol/schemas/resources/HeartbeatRequest.json +39 -0
  306. kafka/protocol/schemas/resources/HeartbeatResponse.json +35 -0
  307. kafka/protocol/schemas/resources/IncrementalAlterConfigsRequest.json +44 -0
  308. kafka/protocol/schemas/resources/IncrementalAlterConfigsResponse.json +38 -0
  309. kafka/protocol/schemas/resources/InitProducerIdRequest.json +50 -0
  310. kafka/protocol/schemas/resources/InitProducerIdResponse.json +47 -0
  311. kafka/protocol/schemas/resources/JoinGroupRequest.json +63 -0
  312. kafka/protocol/schemas/resources/JoinGroupResponse.json +69 -0
  313. kafka/protocol/schemas/resources/LeaveGroupRequest.json +47 -0
  314. kafka/protocol/schemas/resources/LeaveGroupResponse.json +47 -0
  315. kafka/protocol/schemas/resources/ListConfigResourcesRequest.json +31 -0
  316. kafka/protocol/schemas/resources/ListConfigResourcesResponse.json +37 -0
  317. kafka/protocol/schemas/resources/ListGroupsRequest.json +36 -0
  318. kafka/protocol/schemas/resources/ListGroupsResponse.json +49 -0
  319. kafka/protocol/schemas/resources/ListOffsetsRequest.json +72 -0
  320. kafka/protocol/schemas/resources/ListOffsetsResponse.json +71 -0
  321. kafka/protocol/schemas/resources/ListPartitionReassignmentsRequest.json +34 -0
  322. kafka/protocol/schemas/resources/ListPartitionReassignmentsResponse.json +46 -0
  323. kafka/protocol/schemas/resources/ListTransactionsRequest.json +40 -0
  324. kafka/protocol/schemas/resources/ListTransactionsResponse.json +42 -0
  325. kafka/protocol/schemas/resources/MetadataRequest.json +56 -0
  326. kafka/protocol/schemas/resources/MetadataResponse.json +101 -0
  327. kafka/protocol/schemas/resources/OffsetCommitRequest.json +76 -0
  328. kafka/protocol/schemas/resources/OffsetCommitResponse.json +71 -0
  329. kafka/protocol/schemas/resources/OffsetDeleteRequest.json +39 -0
  330. kafka/protocol/schemas/resources/OffsetDeleteResponse.json +42 -0
  331. kafka/protocol/schemas/resources/OffsetFetchRequest.json +76 -0
  332. kafka/protocol/schemas/resources/OffsetFetchResponse.json +107 -0
  333. kafka/protocol/schemas/resources/OffsetForLeaderEpochRequest.json +52 -0
  334. kafka/protocol/schemas/resources/OffsetForLeaderEpochResponse.json +51 -0
  335. kafka/protocol/schemas/resources/ProduceRequest.json +73 -0
  336. kafka/protocol/schemas/resources/ProduceResponse.json +96 -0
  337. kafka/protocol/schemas/resources/RequestHeader.json +44 -0
  338. kafka/protocol/schemas/resources/ResponseHeader.json +26 -0
  339. kafka/protocol/schemas/resources/SaslAuthenticateRequest.json +29 -0
  340. kafka/protocol/schemas/resources/SaslAuthenticateResponse.json +34 -0
  341. kafka/protocol/schemas/resources/SaslHandshakeRequest.json +31 -0
  342. kafka/protocol/schemas/resources/SaslHandshakeResponse.json +32 -0
  343. kafka/protocol/schemas/resources/SyncGroupRequest.json +56 -0
  344. kafka/protocol/schemas/resources/SyncGroupResponse.json +46 -0
  345. kafka/protocol/schemas/resources/TxnOffsetCommitRequest.json +68 -0
  346. kafka/protocol/schemas/resources/TxnOffsetCommitResponse.json +47 -0
  347. kafka/protocol/schemas/resources/UpdateFeaturesRequest.json +43 -0
  348. kafka/protocol/schemas/resources/UpdateFeaturesResponse.json +39 -0
  349. kafka/protocol/schemas/resources/WriteTxnMarkersRequest.json +49 -0
  350. kafka/protocol/schemas/resources/WriteTxnMarkersResponse.json +45 -0
  351. kafka/protocol/schemas/resources/__init__.py +0 -0
  352. kafka/record/__init__.py +3 -0
  353. kafka/record/_crc32c.py +161 -0
  354. kafka/record/abc.py +144 -0
  355. kafka/record/default_records.py +782 -0
  356. kafka/record/legacy_records.py +587 -0
  357. kafka/record/memory_records.py +255 -0
  358. kafka/record/util.py +135 -0
  359. kafka/serializer/__init__.py +4 -0
  360. kafka/serializer/abstract.py +20 -0
  361. kafka/serializer/default.py +16 -0
  362. kafka/serializer/json.py +17 -0
  363. kafka/serializer/wrapper.py +21 -0
  364. kafka/structs.py +69 -0
  365. kafka/util.py +159 -0
  366. kafka/vendor/__init__.py +0 -0
  367. kafka/version.py +1 -0
  368. kafka_python-3.0.0.dist-info/METADATA +319 -0
  369. kafka_python-3.0.0.dist-info/RECORD +373 -0
  370. kafka_python-3.0.0.dist-info/WHEEL +5 -0
  371. kafka_python-3.0.0.dist-info/entry_points.txt +2 -0
  372. kafka_python-3.0.0.dist-info/licenses/LICENSE +202 -0
  373. kafka_python-3.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,620 @@
1
+ # Generated by generate_stubs.py (Python 3.14)
2
+ import uuid
3
+ from typing import Any, Self
4
+
5
+ from kafka.protocol.api_message import ApiMessage
6
+ from kafka.protocol.data_container import DataContainer
7
+
8
+ __all__ = ['DescribeClusterRequest', 'DescribeClusterResponse', 'DescribeLogDirsRequest', 'DescribeLogDirsResponse', 'AlterReplicaLogDirsRequest', 'AlterReplicaLogDirsResponse', 'DescribeQuorumRequest', 'DescribeQuorumResponse', 'UpdateFeaturesRequest', 'UpdateFeaturesResponse']
9
+
10
+ class DescribeClusterRequest(ApiMessage):
11
+ include_cluster_authorized_operations: bool
12
+ endpoint_type: int
13
+ include_fenced_brokers: bool
14
+ def __init__(
15
+ self,
16
+ *args: Any,
17
+ include_cluster_authorized_operations: bool = ...,
18
+ endpoint_type: int = ...,
19
+ include_fenced_brokers: bool = ...,
20
+ version: int | None = None,
21
+ **kwargs: Any,
22
+ ) -> None: ...
23
+ @property
24
+ def version(self) -> int | None: ...
25
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
26
+ name: str
27
+ type: str
28
+ API_KEY: int
29
+ API_VERSION: int
30
+ valid_versions: tuple[int, int]
31
+ min_version: int
32
+ max_version: int
33
+ @property
34
+ def header(self) -> Any: ...
35
+ @classmethod
36
+ def is_request(cls) -> bool: ...
37
+ def expect_response(self) -> bool: ...
38
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
39
+
40
+ class DescribeClusterResponse(ApiMessage):
41
+ class DescribeClusterBroker(DataContainer):
42
+ broker_id: int
43
+ host: str
44
+ port: int
45
+ rack: str | None
46
+ is_fenced: bool
47
+ def __init__(
48
+ self,
49
+ *args: Any,
50
+ broker_id: int = ...,
51
+ host: str = ...,
52
+ port: int = ...,
53
+ rack: str | None = ...,
54
+ is_fenced: bool = ...,
55
+ version: int | None = None,
56
+ **kwargs: Any,
57
+ ) -> None: ...
58
+ @property
59
+ def version(self) -> int | None: ...
60
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
61
+
62
+ throttle_time_ms: int
63
+ error_code: int
64
+ error_message: str | None
65
+ endpoint_type: int
66
+ cluster_id: str
67
+ controller_id: int
68
+ brokers: list[DescribeClusterBroker]
69
+ authorized_operations: set[int]
70
+ def __init__(
71
+ self,
72
+ *args: Any,
73
+ throttle_time_ms: int = ...,
74
+ error_code: int = ...,
75
+ error_message: str | None = ...,
76
+ endpoint_type: int = ...,
77
+ cluster_id: str = ...,
78
+ controller_id: int = ...,
79
+ brokers: list[DescribeClusterBroker] = ...,
80
+ authorized_operations: set[int] = ...,
81
+ version: int | None = None,
82
+ **kwargs: Any,
83
+ ) -> None: ...
84
+ @property
85
+ def version(self) -> int | None: ...
86
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
87
+ name: str
88
+ type: str
89
+ API_KEY: int
90
+ API_VERSION: int
91
+ valid_versions: tuple[int, int]
92
+ min_version: int
93
+ max_version: int
94
+ @property
95
+ def header(self) -> Any: ...
96
+ @classmethod
97
+ def is_request(cls) -> bool: ...
98
+ def expect_response(self) -> bool: ...
99
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
100
+
101
+ class DescribeLogDirsRequest(ApiMessage):
102
+ class DescribableLogDirTopic(DataContainer):
103
+ topic: str
104
+ partitions: list[int]
105
+ def __init__(
106
+ self,
107
+ *args: Any,
108
+ topic: str = ...,
109
+ partitions: list[int] = ...,
110
+ version: int | None = None,
111
+ **kwargs: Any,
112
+ ) -> None: ...
113
+ @property
114
+ def version(self) -> int | None: ...
115
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
116
+
117
+ topics: list[DescribableLogDirTopic] | None
118
+ def __init__(
119
+ self,
120
+ *args: Any,
121
+ topics: list[DescribableLogDirTopic] | None = ...,
122
+ version: int | None = None,
123
+ **kwargs: Any,
124
+ ) -> None: ...
125
+ @property
126
+ def version(self) -> int | None: ...
127
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
128
+ name: str
129
+ type: str
130
+ API_KEY: int
131
+ API_VERSION: int
132
+ valid_versions: tuple[int, int]
133
+ min_version: int
134
+ max_version: int
135
+ @property
136
+ def header(self) -> Any: ...
137
+ @classmethod
138
+ def is_request(cls) -> bool: ...
139
+ def expect_response(self) -> bool: ...
140
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
141
+
142
+ class DescribeLogDirsResponse(ApiMessage):
143
+ class DescribeLogDirsResult(DataContainer):
144
+ class DescribeLogDirsTopic(DataContainer):
145
+ class DescribeLogDirsPartition(DataContainer):
146
+ partition_index: int
147
+ partition_size: int
148
+ offset_lag: int
149
+ is_future_key: bool
150
+ def __init__(
151
+ self,
152
+ *args: Any,
153
+ partition_index: int = ...,
154
+ partition_size: int = ...,
155
+ offset_lag: int = ...,
156
+ is_future_key: bool = ...,
157
+ version: int | None = None,
158
+ **kwargs: Any,
159
+ ) -> None: ...
160
+ @property
161
+ def version(self) -> int | None: ...
162
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
163
+
164
+ name: str
165
+ partitions: list[DescribeLogDirsPartition]
166
+ def __init__(
167
+ self,
168
+ *args: Any,
169
+ name: str = ...,
170
+ partitions: list[DescribeLogDirsPartition] = ...,
171
+ version: int | None = None,
172
+ **kwargs: Any,
173
+ ) -> None: ...
174
+ @property
175
+ def version(self) -> int | None: ...
176
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
177
+
178
+ error_code: int
179
+ log_dir: str
180
+ topics: list[DescribeLogDirsTopic]
181
+ total_bytes: int
182
+ usable_bytes: int
183
+ is_cordoned: bool
184
+ def __init__(
185
+ self,
186
+ *args: Any,
187
+ error_code: int = ...,
188
+ log_dir: str = ...,
189
+ topics: list[DescribeLogDirsTopic] = ...,
190
+ total_bytes: int = ...,
191
+ usable_bytes: int = ...,
192
+ is_cordoned: bool = ...,
193
+ version: int | None = None,
194
+ **kwargs: Any,
195
+ ) -> None: ...
196
+ @property
197
+ def version(self) -> int | None: ...
198
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
199
+
200
+ throttle_time_ms: int
201
+ error_code: int
202
+ results: list[DescribeLogDirsResult]
203
+ def __init__(
204
+ self,
205
+ *args: Any,
206
+ throttle_time_ms: int = ...,
207
+ error_code: int = ...,
208
+ results: list[DescribeLogDirsResult] = ...,
209
+ version: int | None = None,
210
+ **kwargs: Any,
211
+ ) -> None: ...
212
+ @property
213
+ def version(self) -> int | None: ...
214
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
215
+ name: str
216
+ type: str
217
+ API_KEY: int
218
+ API_VERSION: int
219
+ valid_versions: tuple[int, int]
220
+ min_version: int
221
+ max_version: int
222
+ @property
223
+ def header(self) -> Any: ...
224
+ @classmethod
225
+ def is_request(cls) -> bool: ...
226
+ def expect_response(self) -> bool: ...
227
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
228
+
229
+ class AlterReplicaLogDirsRequest(ApiMessage):
230
+ class AlterReplicaLogDir(DataContainer):
231
+ class AlterReplicaLogDirTopic(DataContainer):
232
+ name: str
233
+ partitions: list[int]
234
+ def __init__(
235
+ self,
236
+ *args: Any,
237
+ name: str = ...,
238
+ partitions: list[int] = ...,
239
+ version: int | None = None,
240
+ **kwargs: Any,
241
+ ) -> None: ...
242
+ @property
243
+ def version(self) -> int | None: ...
244
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
245
+
246
+ path: str
247
+ topics: list[AlterReplicaLogDirTopic]
248
+ def __init__(
249
+ self,
250
+ *args: Any,
251
+ path: str = ...,
252
+ topics: list[AlterReplicaLogDirTopic] = ...,
253
+ version: int | None = None,
254
+ **kwargs: Any,
255
+ ) -> None: ...
256
+ @property
257
+ def version(self) -> int | None: ...
258
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
259
+
260
+ dirs: list[AlterReplicaLogDir]
261
+ def __init__(
262
+ self,
263
+ *args: Any,
264
+ dirs: list[AlterReplicaLogDir] = ...,
265
+ version: int | None = None,
266
+ **kwargs: Any,
267
+ ) -> None: ...
268
+ @property
269
+ def version(self) -> int | None: ...
270
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
271
+ name: str
272
+ type: str
273
+ API_KEY: int
274
+ API_VERSION: int
275
+ valid_versions: tuple[int, int]
276
+ min_version: int
277
+ max_version: int
278
+ @property
279
+ def header(self) -> Any: ...
280
+ @classmethod
281
+ def is_request(cls) -> bool: ...
282
+ def expect_response(self) -> bool: ...
283
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
284
+
285
+ class AlterReplicaLogDirsResponse(ApiMessage):
286
+ class AlterReplicaLogDirTopicResult(DataContainer):
287
+ class AlterReplicaLogDirPartitionResult(DataContainer):
288
+ partition_index: int
289
+ error_code: int
290
+ def __init__(
291
+ self,
292
+ *args: Any,
293
+ partition_index: int = ...,
294
+ error_code: int = ...,
295
+ version: int | None = None,
296
+ **kwargs: Any,
297
+ ) -> None: ...
298
+ @property
299
+ def version(self) -> int | None: ...
300
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
301
+
302
+ topic_name: str
303
+ partitions: list[AlterReplicaLogDirPartitionResult]
304
+ def __init__(
305
+ self,
306
+ *args: Any,
307
+ topic_name: str = ...,
308
+ partitions: list[AlterReplicaLogDirPartitionResult] = ...,
309
+ version: int | None = None,
310
+ **kwargs: Any,
311
+ ) -> None: ...
312
+ @property
313
+ def version(self) -> int | None: ...
314
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
315
+
316
+ throttle_time_ms: int
317
+ results: list[AlterReplicaLogDirTopicResult]
318
+ def __init__(
319
+ self,
320
+ *args: Any,
321
+ throttle_time_ms: int = ...,
322
+ results: list[AlterReplicaLogDirTopicResult] = ...,
323
+ version: int | None = None,
324
+ **kwargs: Any,
325
+ ) -> None: ...
326
+ @property
327
+ def version(self) -> int | None: ...
328
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
329
+ name: str
330
+ type: str
331
+ API_KEY: int
332
+ API_VERSION: int
333
+ valid_versions: tuple[int, int]
334
+ min_version: int
335
+ max_version: int
336
+ @property
337
+ def header(self) -> Any: ...
338
+ @classmethod
339
+ def is_request(cls) -> bool: ...
340
+ def expect_response(self) -> bool: ...
341
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
342
+
343
+ class DescribeQuorumRequest(ApiMessage):
344
+ class TopicData(DataContainer):
345
+ class PartitionData(DataContainer):
346
+ partition_index: int
347
+ def __init__(
348
+ self,
349
+ *args: Any,
350
+ partition_index: int = ...,
351
+ version: int | None = None,
352
+ **kwargs: Any,
353
+ ) -> None: ...
354
+ @property
355
+ def version(self) -> int | None: ...
356
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
357
+
358
+ topic_name: str
359
+ partitions: list[PartitionData]
360
+ def __init__(
361
+ self,
362
+ *args: Any,
363
+ topic_name: str = ...,
364
+ partitions: list[PartitionData] = ...,
365
+ version: int | None = None,
366
+ **kwargs: Any,
367
+ ) -> None: ...
368
+ @property
369
+ def version(self) -> int | None: ...
370
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
371
+
372
+ topics: list[TopicData]
373
+ def __init__(
374
+ self,
375
+ *args: Any,
376
+ topics: list[TopicData] = ...,
377
+ version: int | None = None,
378
+ **kwargs: Any,
379
+ ) -> None: ...
380
+ @property
381
+ def version(self) -> int | None: ...
382
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
383
+ name: str
384
+ type: str
385
+ API_KEY: int
386
+ API_VERSION: int
387
+ valid_versions: tuple[int, int]
388
+ min_version: int
389
+ max_version: int
390
+ @property
391
+ def header(self) -> Any: ...
392
+ @classmethod
393
+ def is_request(cls) -> bool: ...
394
+ def expect_response(self) -> bool: ...
395
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
396
+
397
+ class DescribeQuorumResponse(ApiMessage):
398
+ class TopicData(DataContainer):
399
+ class PartitionData(DataContainer):
400
+ class ReplicaState(DataContainer):
401
+ replica_id: int
402
+ replica_directory_id: uuid.UUID
403
+ log_end_offset: int
404
+ last_fetch_timestamp: int
405
+ last_caught_up_timestamp: int
406
+ def __init__(
407
+ self,
408
+ *args: Any,
409
+ replica_id: int = ...,
410
+ replica_directory_id: uuid.UUID = ...,
411
+ log_end_offset: int = ...,
412
+ last_fetch_timestamp: int = ...,
413
+ last_caught_up_timestamp: int = ...,
414
+ version: int | None = None,
415
+ **kwargs: Any,
416
+ ) -> None: ...
417
+ @property
418
+ def version(self) -> int | None: ...
419
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
420
+
421
+ partition_index: int
422
+ error_code: int
423
+ error_message: str | None
424
+ leader_id: int
425
+ leader_epoch: int
426
+ high_watermark: int
427
+ current_voters: list[ReplicaState]
428
+ observers: list[ReplicaState]
429
+ def __init__(
430
+ self,
431
+ *args: Any,
432
+ partition_index: int = ...,
433
+ error_code: int = ...,
434
+ error_message: str | None = ...,
435
+ leader_id: int = ...,
436
+ leader_epoch: int = ...,
437
+ high_watermark: int = ...,
438
+ current_voters: list[ReplicaState] = ...,
439
+ observers: list[ReplicaState] = ...,
440
+ version: int | None = None,
441
+ **kwargs: Any,
442
+ ) -> None: ...
443
+ @property
444
+ def version(self) -> int | None: ...
445
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
446
+
447
+ topic_name: str
448
+ partitions: list[PartitionData]
449
+ def __init__(
450
+ self,
451
+ *args: Any,
452
+ topic_name: str = ...,
453
+ partitions: list[PartitionData] = ...,
454
+ version: int | None = None,
455
+ **kwargs: Any,
456
+ ) -> None: ...
457
+ @property
458
+ def version(self) -> int | None: ...
459
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
460
+
461
+ class Node(DataContainer):
462
+ class Listener(DataContainer):
463
+ name: str
464
+ host: str
465
+ port: int
466
+ def __init__(
467
+ self,
468
+ *args: Any,
469
+ name: str = ...,
470
+ host: str = ...,
471
+ port: int = ...,
472
+ version: int | None = None,
473
+ **kwargs: Any,
474
+ ) -> None: ...
475
+ @property
476
+ def version(self) -> int | None: ...
477
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
478
+
479
+ node_id: int
480
+ listeners: list[Listener]
481
+ def __init__(
482
+ self,
483
+ *args: Any,
484
+ node_id: int = ...,
485
+ listeners: list[Listener] = ...,
486
+ version: int | None = None,
487
+ **kwargs: Any,
488
+ ) -> None: ...
489
+ @property
490
+ def version(self) -> int | None: ...
491
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
492
+
493
+ error_code: int
494
+ error_message: str | None
495
+ topics: list[TopicData]
496
+ nodes: list[Node]
497
+ def __init__(
498
+ self,
499
+ *args: Any,
500
+ error_code: int = ...,
501
+ error_message: str | None = ...,
502
+ topics: list[TopicData] = ...,
503
+ nodes: list[Node] = ...,
504
+ version: int | None = None,
505
+ **kwargs: Any,
506
+ ) -> None: ...
507
+ @property
508
+ def version(self) -> int | None: ...
509
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
510
+ name: str
511
+ type: str
512
+ API_KEY: int
513
+ API_VERSION: int
514
+ valid_versions: tuple[int, int]
515
+ min_version: int
516
+ max_version: int
517
+ @property
518
+ def header(self) -> Any: ...
519
+ @classmethod
520
+ def is_request(cls) -> bool: ...
521
+ def expect_response(self) -> bool: ...
522
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
523
+
524
+ class UpdateFeaturesRequest(ApiMessage):
525
+ class FeatureUpdateKey(DataContainer):
526
+ feature: str
527
+ max_version_level: int
528
+ allow_downgrade: bool
529
+ upgrade_type: int
530
+ def __init__(
531
+ self,
532
+ *args: Any,
533
+ feature: str = ...,
534
+ max_version_level: int = ...,
535
+ allow_downgrade: bool = ...,
536
+ upgrade_type: int = ...,
537
+ version: int | None = None,
538
+ **kwargs: Any,
539
+ ) -> None: ...
540
+ @property
541
+ def version(self) -> int | None: ...
542
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
543
+
544
+ timeout_ms: int
545
+ feature_updates: list[FeatureUpdateKey]
546
+ validate_only: bool
547
+ def __init__(
548
+ self,
549
+ *args: Any,
550
+ timeout_ms: int = ...,
551
+ feature_updates: list[FeatureUpdateKey] = ...,
552
+ validate_only: bool = ...,
553
+ version: int | None = None,
554
+ **kwargs: Any,
555
+ ) -> None: ...
556
+ @property
557
+ def version(self) -> int | None: ...
558
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
559
+ name: str
560
+ type: str
561
+ API_KEY: int
562
+ API_VERSION: int
563
+ valid_versions: tuple[int, int]
564
+ min_version: int
565
+ max_version: int
566
+ @property
567
+ def header(self) -> Any: ...
568
+ @classmethod
569
+ def is_request(cls) -> bool: ...
570
+ def expect_response(self) -> bool: ...
571
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
572
+
573
+ class UpdateFeaturesResponse(ApiMessage):
574
+ class UpdatableFeatureResult(DataContainer):
575
+ feature: str
576
+ error_code: int
577
+ error_message: str | None
578
+ def __init__(
579
+ self,
580
+ *args: Any,
581
+ feature: str = ...,
582
+ error_code: int = ...,
583
+ error_message: str | None = ...,
584
+ version: int | None = None,
585
+ **kwargs: Any,
586
+ ) -> None: ...
587
+ @property
588
+ def version(self) -> int | None: ...
589
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
590
+
591
+ throttle_time_ms: int
592
+ error_code: int
593
+ error_message: str | None
594
+ results: list[UpdatableFeatureResult]
595
+ def __init__(
596
+ self,
597
+ *args: Any,
598
+ throttle_time_ms: int = ...,
599
+ error_code: int = ...,
600
+ error_message: str | None = ...,
601
+ results: list[UpdatableFeatureResult] = ...,
602
+ version: int | None = None,
603
+ **kwargs: Any,
604
+ ) -> None: ...
605
+ @property
606
+ def version(self) -> int | None: ...
607
+ def to_dict(self, meta: bool = False, json: bool = True) -> dict: ...
608
+ name: str
609
+ type: str
610
+ API_KEY: int
611
+ API_VERSION: int
612
+ valid_versions: tuple[int, int]
613
+ min_version: int
614
+ max_version: int
615
+ @property
616
+ def header(self) -> Any: ...
617
+ @classmethod
618
+ def is_request(cls) -> bool: ...
619
+ def expect_response(self) -> bool: ...
620
+ def with_header(self, correlation_id: int = 0, client_id: str = "kafka-python") -> None: ...
@@ -0,0 +1,22 @@
1
+ from ..api_message import ApiMessage
2
+
3
+
4
+ class AlterConfigsRequest(ApiMessage): pass
5
+ class AlterConfigsResponse(ApiMessage): pass
6
+
7
+ class DescribeConfigsRequest(ApiMessage): pass
8
+ class DescribeConfigsResponse(ApiMessage): pass
9
+
10
+ class IncrementalAlterConfigsRequest(ApiMessage): pass
11
+ class IncrementalAlterConfigsResponse(ApiMessage): pass
12
+
13
+ class ListConfigResourcesRequest(ApiMessage): pass
14
+ class ListConfigResourcesResponse(ApiMessage): pass
15
+
16
+
17
+ __all__ = [
18
+ 'AlterConfigsRequest', 'AlterConfigsResponse',
19
+ 'DescribeConfigsRequest', 'DescribeConfigsResponse',
20
+ 'IncrementalAlterConfigsRequest', 'IncrementalAlterConfigsResponse',
21
+ 'ListConfigResourcesRequest', 'ListConfigResourcesResponse',
22
+ ]