types-kafka-python 2.3.0.20260523__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 (138) hide show
  1. kafka-stubs/METADATA.toml +2 -0
  2. kafka-stubs/__init__.pyi +13 -0
  3. kafka-stubs/admin/__init__.pyi +30 -0
  4. kafka-stubs/admin/acl_resource.pyi +91 -0
  5. kafka-stubs/admin/client.pyi +114 -0
  6. kafka-stubs/admin/config_resource.pyi +12 -0
  7. kafka-stubs/admin/new_partitions.pyi +6 -0
  8. kafka-stubs/admin/new_topic.pyi +16 -0
  9. kafka-stubs/cli/__init__.pyi +0 -0
  10. kafka-stubs/cli/admin/__init__.pyi +3 -0
  11. kafka-stubs/cli/admin/cluster/__init__.pyi +3 -0
  12. kafka-stubs/cli/admin/cluster/describe.pyi +3 -0
  13. kafka-stubs/cli/admin/configs/__init__.pyi +3 -0
  14. kafka-stubs/cli/admin/configs/describe.pyi +5 -0
  15. kafka-stubs/cli/admin/consumer_groups/__init__.pyi +3 -0
  16. kafka-stubs/cli/admin/consumer_groups/delete.pyi +3 -0
  17. kafka-stubs/cli/admin/consumer_groups/describe.pyi +3 -0
  18. kafka-stubs/cli/admin/consumer_groups/list.pyi +3 -0
  19. kafka-stubs/cli/admin/consumer_groups/list_offsets.pyi +3 -0
  20. kafka-stubs/cli/admin/log_dirs/__init__.pyi +3 -0
  21. kafka-stubs/cli/admin/log_dirs/describe.pyi +3 -0
  22. kafka-stubs/cli/admin/topics/__init__.pyi +3 -0
  23. kafka-stubs/cli/admin/topics/create.pyi +5 -0
  24. kafka-stubs/cli/admin/topics/delete.pyi +3 -0
  25. kafka-stubs/cli/admin/topics/describe.pyi +3 -0
  26. kafka-stubs/cli/admin/topics/list.pyi +3 -0
  27. kafka-stubs/cli/consumer/__init__.pyi +3 -0
  28. kafka-stubs/cli/producer/__init__.pyi +3 -0
  29. kafka-stubs/client_async.pyi +56 -0
  30. kafka-stubs/cluster.pyi +36 -0
  31. kafka-stubs/codec.pyi +25 -0
  32. kafka-stubs/conn.pyi +70 -0
  33. kafka-stubs/consumer/__init__.pyi +3 -0
  34. kafka-stubs/consumer/fetcher.pyi +150 -0
  35. kafka-stubs/consumer/group.pyi +143 -0
  36. kafka-stubs/consumer/subscription_state.pyi +112 -0
  37. kafka-stubs/coordinator/__init__.pyi +0 -0
  38. kafka-stubs/coordinator/assignors/__init__.pyi +0 -0
  39. kafka-stubs/coordinator/assignors/abstract.pyi +15 -0
  40. kafka-stubs/coordinator/assignors/range.pyi +15 -0
  41. kafka-stubs/coordinator/assignors/roundrobin.pyi +15 -0
  42. kafka-stubs/coordinator/assignors/sticky/__init__.pyi +0 -0
  43. kafka-stubs/coordinator/assignors/sticky/partition_movements.pyi +18 -0
  44. kafka-stubs/coordinator/assignors/sticky/sorted_set.pyi +13 -0
  45. kafka-stubs/coordinator/assignors/sticky/sticky_assignor.pyi +59 -0
  46. kafka-stubs/coordinator/base.pyi +86 -0
  47. kafka-stubs/coordinator/consumer.pyi +31 -0
  48. kafka-stubs/coordinator/heartbeat.pyi +22 -0
  49. kafka-stubs/coordinator/protocol.pyi +17 -0
  50. kafka-stubs/coordinator/subscription.pyi +13 -0
  51. kafka-stubs/errors.pyi +822 -0
  52. kafka-stubs/future.pyi +19 -0
  53. kafka-stubs/metrics/__init__.pyi +10 -0
  54. kafka-stubs/metrics/compound_stat.pyi +13 -0
  55. kafka-stubs/metrics/dict_reporter.pyi +15 -0
  56. kafka-stubs/metrics/kafka_metric.pyi +13 -0
  57. kafka-stubs/metrics/measurable.pyi +9 -0
  58. kafka-stubs/metrics/measurable_stat.pyi +6 -0
  59. kafka-stubs/metrics/metric_config.pyi +13 -0
  60. kafka-stubs/metrics/metric_name.pyi +13 -0
  61. kafka-stubs/metrics/metrics.pyi +24 -0
  62. kafka-stubs/metrics/metrics_reporter.pyi +13 -0
  63. kafka-stubs/metrics/quota.pyi +13 -0
  64. kafka-stubs/metrics/stat.pyi +5 -0
  65. kafka-stubs/metrics/stats/__init__.pyi +12 -0
  66. kafka-stubs/metrics/stats/avg.pyi +6 -0
  67. kafka-stubs/metrics/stats/count.pyi +6 -0
  68. kafka-stubs/metrics/stats/histogram.pyi +21 -0
  69. kafka-stubs/metrics/stats/max_stat.pyi +6 -0
  70. kafka-stubs/metrics/stats/min_stat.pyi +6 -0
  71. kafka-stubs/metrics/stats/percentile.pyi +6 -0
  72. kafka-stubs/metrics/stats/percentiles.pyi +21 -0
  73. kafka-stubs/metrics/stats/rate.pyi +28 -0
  74. kafka-stubs/metrics/stats/sampled_stat.pyi +26 -0
  75. kafka-stubs/metrics/stats/sensor.pyi +10 -0
  76. kafka-stubs/metrics/stats/total.pyi +6 -0
  77. kafka-stubs/partitioner/__init__.pyi +3 -0
  78. kafka-stubs/partitioner/default.pyi +5 -0
  79. kafka-stubs/producer/__init__.pyi +3 -0
  80. kafka-stubs/producer/future.pyi +37 -0
  81. kafka-stubs/producer/kafka.pyi +110 -0
  82. kafka-stubs/producer/producer_batch.pyi +42 -0
  83. kafka-stubs/producer/record_accumulator.pyi +45 -0
  84. kafka-stubs/producer/sender.pyi +47 -0
  85. kafka-stubs/producer/transaction_manager.pyi +187 -0
  86. kafka-stubs/protocol/__init__.pyi +3 -0
  87. kafka-stubs/protocol/abstract.pyi +9 -0
  88. kafka-stubs/protocol/add_offsets_to_txn.pyi +39 -0
  89. kafka-stubs/protocol/add_partitions_to_txn.pyi +39 -0
  90. kafka-stubs/protocol/admin.pyi +506 -0
  91. kafka-stubs/protocol/api.pyi +37 -0
  92. kafka-stubs/protocol/api_versions.pyi +70 -0
  93. kafka-stubs/protocol/broker_api_versions.pyi +3 -0
  94. kafka-stubs/protocol/commit.pyi +166 -0
  95. kafka-stubs/protocol/end_txn.pyi +39 -0
  96. kafka-stubs/protocol/fetch.pyi +143 -0
  97. kafka-stubs/protocol/find_coordinator.pyi +39 -0
  98. kafka-stubs/protocol/frame.pyi +6 -0
  99. kafka-stubs/protocol/group.pyi +229 -0
  100. kafka-stubs/protocol/init_producer_id.pyi +28 -0
  101. kafka-stubs/protocol/list_offsets.pyi +85 -0
  102. kafka-stubs/protocol/message.pyi +43 -0
  103. kafka-stubs/protocol/metadata.pyi +123 -0
  104. kafka-stubs/protocol/offset_for_leader_epoch.pyi +61 -0
  105. kafka-stubs/protocol/parser.pyi +11 -0
  106. kafka-stubs/protocol/produce.pyi +103 -0
  107. kafka-stubs/protocol/sasl_authenticate.pyi +28 -0
  108. kafka-stubs/protocol/sasl_handshake.pyi +28 -0
  109. kafka-stubs/protocol/struct.pyi +14 -0
  110. kafka-stubs/protocol/txn_offset_commit.pyi +39 -0
  111. kafka-stubs/protocol/types.pyi +115 -0
  112. kafka-stubs/py.typed +0 -0
  113. kafka-stubs/record/__init__.pyi +3 -0
  114. kafka-stubs/record/_crc32c.pyi +8 -0
  115. kafka-stubs/record/abc.pyi +60 -0
  116. kafka-stubs/record/default_records.pyi +155 -0
  117. kafka-stubs/record/legacy_records.pyi +86 -0
  118. kafka-stubs/record/memory_records.pyi +44 -0
  119. kafka-stubs/record/util.pyi +5 -0
  120. kafka-stubs/sasl/__init__.pyi +6 -0
  121. kafka-stubs/sasl/abc.pyi +14 -0
  122. kafka-stubs/sasl/gssapi.pyi +16 -0
  123. kafka-stubs/sasl/msk.pyi +33 -0
  124. kafka-stubs/sasl/oauth.pyi +23 -0
  125. kafka-stubs/sasl/plain.pyi +15 -0
  126. kafka-stubs/sasl/scram.pyi +40 -0
  127. kafka-stubs/sasl/sspi.pyi +17 -0
  128. kafka-stubs/serializer/__init__.pyi +1 -0
  129. kafka-stubs/serializer/abstract.pyi +15 -0
  130. kafka-stubs/socks5_wrapper.pyi +25 -0
  131. kafka-stubs/structs.pyi +53 -0
  132. kafka-stubs/util.pyi +38 -0
  133. kafka-stubs/version.pyi +1 -0
  134. types_kafka_python-2.3.0.20260523.dist-info/METADATA +38 -0
  135. types_kafka_python-2.3.0.20260523.dist-info/RECORD +138 -0
  136. types_kafka_python-2.3.0.20260523.dist-info/WHEEL +5 -0
  137. types_kafka_python-2.3.0.20260523.dist-info/licenses/LICENSE +237 -0
  138. types_kafka_python-2.3.0.20260523.dist-info/top_level.txt +1 -0
kafka-stubs/errors.pyi ADDED
@@ -0,0 +1,822 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class KafkaError(RuntimeError):
4
+ retriable: bool
5
+ invalid_metadata: bool
6
+ def __eq__(self, other): ...
7
+
8
+ class Cancelled(KafkaError):
9
+ retriable: bool
10
+
11
+ class CommitFailedError(KafkaError):
12
+ def __init__(self, *args) -> None: ...
13
+
14
+ class IllegalArgumentError(KafkaError): ...
15
+ class IllegalStateError(KafkaError): ...
16
+ class IncompatibleBrokerVersion(KafkaError): ...
17
+ class KafkaConfigurationError(KafkaError): ...
18
+
19
+ class KafkaConnectionError(KafkaError):
20
+ retriable: bool
21
+ invalid_metadata: bool
22
+
23
+ class KafkaProtocolError(KafkaError):
24
+ retriable: bool
25
+
26
+ class CorrelationIdError(KafkaProtocolError):
27
+ retriable: bool
28
+
29
+ class KafkaTimeoutError(KafkaError):
30
+ retriable: bool
31
+
32
+ class MetadataEmptyBrokerList(KafkaError):
33
+ retriable: bool
34
+
35
+ class NoBrokersAvailable(KafkaError):
36
+ retriable: bool
37
+ invalid_metadata: bool
38
+
39
+ class NoOffsetForPartitionError(KafkaError): ...
40
+
41
+ class NodeNotReadyError(KafkaError):
42
+ retriable: bool
43
+
44
+ class QuotaViolationError(KafkaError): ...
45
+
46
+ class StaleMetadata(KafkaError):
47
+ retriable: bool
48
+ invalid_metadata: bool
49
+
50
+ class TooManyInFlightRequests(KafkaError):
51
+ retriable: bool
52
+
53
+ class UnrecognizedBrokerVersion(KafkaError): ...
54
+ class UnsupportedCodecError(KafkaError): ...
55
+ class TransactionAbortedError(KafkaError): ...
56
+
57
+ class BrokerResponseError(KafkaError):
58
+ errno: Incomplete
59
+ message: Incomplete
60
+ description: Incomplete
61
+
62
+ class AuthorizationError(BrokerResponseError): ...
63
+
64
+ class NoError(BrokerResponseError):
65
+ errno: int
66
+ message: str
67
+ description: str
68
+
69
+ class UnknownError(BrokerResponseError):
70
+ errno: int
71
+ message: str
72
+ description: str
73
+
74
+ class OffsetOutOfRangeError(BrokerResponseError):
75
+ errno: int
76
+ message: str
77
+ description: str
78
+
79
+ class CorruptRecordError(BrokerResponseError):
80
+ errno: int
81
+ message: str
82
+ description: str
83
+
84
+ CorruptRecordException = CorruptRecordError
85
+
86
+ class UnknownTopicOrPartitionError(BrokerResponseError):
87
+ errno: int
88
+ message: str
89
+ description: str
90
+ retriable: bool
91
+ invalid_metadata: bool
92
+
93
+ class InvalidFetchRequestError(BrokerResponseError):
94
+ errno: int
95
+ message: str
96
+ description: str
97
+
98
+ class LeaderNotAvailableError(BrokerResponseError):
99
+ errno: int
100
+ message: str
101
+ description: str
102
+ retriable: bool
103
+ invalid_metadata: bool
104
+
105
+ class NotLeaderForPartitionError(BrokerResponseError):
106
+ errno: int
107
+ message: str
108
+ description: str
109
+ retriable: bool
110
+ invalid_metadata: bool
111
+
112
+ class RequestTimedOutError(BrokerResponseError):
113
+ errno: int
114
+ message: str
115
+ description: str
116
+ retriable: bool
117
+
118
+ class BrokerNotAvailableError(BrokerResponseError):
119
+ errno: int
120
+ message: str
121
+ description: str
122
+
123
+ class ReplicaNotAvailableError(BrokerResponseError):
124
+ errno: int
125
+ message: str
126
+ description: str
127
+ retriable: bool
128
+ invalid_metadata: bool
129
+
130
+ class MessageSizeTooLargeError(BrokerResponseError):
131
+ errno: int
132
+ message: str
133
+ description: str
134
+
135
+ class StaleControllerEpochError(BrokerResponseError):
136
+ errno: int
137
+ message: str
138
+ description: str
139
+
140
+ class OffsetMetadataTooLargeError(BrokerResponseError):
141
+ errno: int
142
+ message: str
143
+ description: str
144
+
145
+ class NetworkExceptionError(BrokerResponseError):
146
+ errno: int
147
+ message: str
148
+ retriable: bool
149
+ invalid_metadata: bool
150
+
151
+ class CoordinatorLoadInProgressError(BrokerResponseError):
152
+ errno: int
153
+ message: str
154
+ description: str
155
+ retriable: bool
156
+
157
+ class CoordinatorNotAvailableError(BrokerResponseError):
158
+ errno: int
159
+ message: str
160
+ description: str
161
+ retriable: bool
162
+
163
+ class NotCoordinatorError(BrokerResponseError):
164
+ errno: int
165
+ message: str
166
+ description: str
167
+ retriable: bool
168
+
169
+ class InvalidTopicError(BrokerResponseError):
170
+ errno: int
171
+ message: str
172
+ description: str
173
+
174
+ class RecordListTooLargeError(BrokerResponseError):
175
+ errno: int
176
+ message: str
177
+ description: str
178
+
179
+ class NotEnoughReplicasError(BrokerResponseError):
180
+ errno: int
181
+ message: str
182
+ description: str
183
+ retriable: bool
184
+
185
+ class NotEnoughReplicasAfterAppendError(BrokerResponseError):
186
+ errno: int
187
+ message: str
188
+ description: str
189
+ retriable: bool
190
+
191
+ class InvalidRequiredAcksError(BrokerResponseError):
192
+ errno: int
193
+ message: str
194
+ description: str
195
+
196
+ class IllegalGenerationError(BrokerResponseError):
197
+ errno: int
198
+ message: str
199
+ description: str
200
+
201
+ class InconsistentGroupProtocolError(BrokerResponseError):
202
+ errno: int
203
+ message: str
204
+ description: str
205
+
206
+ class InvalidGroupIdError(BrokerResponseError):
207
+ errno: int
208
+ message: str
209
+ description: str
210
+
211
+ class UnknownMemberIdError(BrokerResponseError):
212
+ errno: int
213
+ message: str
214
+ description: str
215
+
216
+ class InvalidSessionTimeoutError(BrokerResponseError):
217
+ errno: int
218
+ message: str
219
+ description: str
220
+
221
+ class RebalanceInProgressError(BrokerResponseError):
222
+ errno: int
223
+ message: str
224
+ description: str
225
+
226
+ class InvalidCommitOffsetSizeError(BrokerResponseError):
227
+ errno: int
228
+ message: str
229
+ description: str
230
+
231
+ class TopicAuthorizationFailedError(AuthorizationError):
232
+ errno: int
233
+ message: str
234
+ description: str
235
+
236
+ class GroupAuthorizationFailedError(AuthorizationError):
237
+ errno: int
238
+ message: str
239
+ description: str
240
+
241
+ class ClusterAuthorizationFailedError(AuthorizationError):
242
+ errno: int
243
+ message: str
244
+ description: str
245
+
246
+ class InvalidTimestampError(BrokerResponseError):
247
+ errno: int
248
+ message: str
249
+ description: str
250
+
251
+ class UnsupportedSaslMechanismError(BrokerResponseError):
252
+ errno: int
253
+ message: str
254
+ description: str
255
+
256
+ class IllegalSaslStateError(BrokerResponseError):
257
+ errno: int
258
+ message: str
259
+ description: str
260
+
261
+ class UnsupportedVersionError(BrokerResponseError):
262
+ errno: int
263
+ message: str
264
+ description: str
265
+
266
+ class TopicAlreadyExistsError(BrokerResponseError):
267
+ errno: int
268
+ message: str
269
+ description: str
270
+
271
+ class InvalidPartitionsError(BrokerResponseError):
272
+ errno: int
273
+ message: str
274
+ description: str
275
+
276
+ class InvalidReplicationFactorError(BrokerResponseError):
277
+ errno: int
278
+ message: str
279
+ description: str
280
+
281
+ class InvalidReplicationAssignmentError(BrokerResponseError):
282
+ errno: int
283
+ message: str
284
+ description: str
285
+
286
+ class InvalidConfigurationError(BrokerResponseError):
287
+ errno: int
288
+ message: str
289
+ description: str
290
+
291
+ class NotControllerError(BrokerResponseError):
292
+ errno: int
293
+ message: str
294
+ description: str
295
+ retriable: bool
296
+
297
+ class InvalidRequestError(BrokerResponseError):
298
+ errno: int
299
+ message: str
300
+ description: str
301
+
302
+ class UnsupportedForMessageFormatError(BrokerResponseError):
303
+ errno: int
304
+ message: str
305
+ description: str
306
+
307
+ class PolicyViolationError(BrokerResponseError):
308
+ errno: int
309
+ message: str
310
+ description: str
311
+ retriable: bool
312
+
313
+ class OutOfOrderSequenceNumberError(BrokerResponseError):
314
+ errno: int
315
+ message: str
316
+ description: str
317
+ retriable: bool
318
+
319
+ class DuplicateSequenceNumberError(BrokerResponseError):
320
+ errno: int
321
+ message: str
322
+ description: str
323
+ retriable: bool
324
+
325
+ class InvalidProducerEpochError(BrokerResponseError):
326
+ errno: int
327
+ message: str
328
+ description: str
329
+ retriable: bool
330
+
331
+ class InvalidTxnStateError(BrokerResponseError):
332
+ errno: int
333
+ message: str
334
+ description: str
335
+ retriable: bool
336
+
337
+ class InvalidProducerIdMappingError(BrokerResponseError):
338
+ errno: int
339
+ message: str
340
+ description: str
341
+ retriable: bool
342
+
343
+ class InvalidTransactionTimeoutError(BrokerResponseError):
344
+ errno: int
345
+ message: str
346
+ description: str
347
+ retriable: bool
348
+
349
+ class ConcurrentTransactionsError(BrokerResponseError):
350
+ errno: int
351
+ message: str
352
+ description: str
353
+ retriable: bool
354
+
355
+ class TransactionCoordinatorFencedError(BrokerResponseError):
356
+ errno: int
357
+ message: str
358
+ description: str
359
+ retriable: bool
360
+
361
+ class TransactionalIdAuthorizationFailedError(AuthorizationError):
362
+ errno: int
363
+ message: str
364
+ description: str
365
+ retriable: bool
366
+
367
+ class SecurityDisabledError(BrokerResponseError):
368
+ errno: int
369
+ message: str
370
+ description: str
371
+ retriable: bool
372
+
373
+ class OperationNotAttemptedError(BrokerResponseError):
374
+ errno: int
375
+ message: str
376
+ description: str
377
+ retriable: bool
378
+
379
+ class KafkaStorageError(BrokerResponseError):
380
+ errno: int
381
+ message: str
382
+ description: str
383
+ retriable: bool
384
+ invalid_metadata: bool
385
+
386
+ class LogDirNotFoundError(BrokerResponseError):
387
+ errno: int
388
+ message: str
389
+ description: str
390
+ retriable: bool
391
+
392
+ class SaslAuthenticationFailedError(BrokerResponseError):
393
+ errno: int
394
+ message: str
395
+ description: str
396
+ retriable: bool
397
+
398
+ class UnknownProducerIdError(BrokerResponseError):
399
+ errno: int
400
+ message: str
401
+ description: str
402
+ retriable: bool
403
+
404
+ class ReassignmentInProgressError(BrokerResponseError):
405
+ errno: int
406
+ message: str
407
+ description: str
408
+ retriable: bool
409
+
410
+ class DelegationTokenAuthDisabledError(BrokerResponseError):
411
+ errno: int
412
+ message: str
413
+ description: str
414
+ retriable: bool
415
+
416
+ class DelegationTokenNotFoundError(BrokerResponseError):
417
+ errno: int
418
+ message: str
419
+ description: str
420
+ retriable: bool
421
+
422
+ class DelegationTokenOwnerMismatchError(BrokerResponseError):
423
+ errno: int
424
+ message: str
425
+ description: str
426
+ retriable: bool
427
+
428
+ class DelegationTokenRequestNotAllowedError(BrokerResponseError):
429
+ errno: int
430
+ message: str
431
+ description: str
432
+ retriable: bool
433
+
434
+ class DelegationTokenAuthorizationFailedError(AuthorizationError):
435
+ errno: int
436
+ message: str
437
+ description: str
438
+ retriable: bool
439
+
440
+ class DelegationTokenExpiredError(BrokerResponseError):
441
+ errno: int
442
+ message: str
443
+ description: str
444
+ retriable: bool
445
+
446
+ class InvalidPrincipalTypeError(BrokerResponseError):
447
+ errno: int
448
+ message: str
449
+ description: str
450
+ retriable: bool
451
+
452
+ class NonEmptyGroupError(BrokerResponseError):
453
+ errno: int
454
+ message: str
455
+ description: str
456
+ retriable: bool
457
+
458
+ class GroupIdNotFoundError(BrokerResponseError):
459
+ errno: int
460
+ message: str
461
+ description: str
462
+ retriable: bool
463
+
464
+ class FetchSessionIdNotFoundError(BrokerResponseError):
465
+ errno: int
466
+ message: str
467
+ description: str
468
+ retriable: bool
469
+
470
+ class InvalidFetchSessionEpochError(BrokerResponseError):
471
+ errno: int
472
+ message: str
473
+ description: str
474
+ retriable: bool
475
+
476
+ class ListenerNotFoundError(BrokerResponseError):
477
+ errno: int
478
+ message: str
479
+ description: str
480
+ retriable: bool
481
+ invalid_metadata: bool
482
+
483
+ class TopicDeletionDisabledError(BrokerResponseError):
484
+ errno: int
485
+ message: str
486
+ description: str
487
+ retriable: bool
488
+
489
+ class FencedLeaderEpochError(BrokerResponseError):
490
+ errno: int
491
+ message: str
492
+ description: str
493
+ retriable: bool
494
+ invalid_metadata: bool
495
+
496
+ class UnknownLeaderEpochError(BrokerResponseError):
497
+ errno: int
498
+ message: str
499
+ description: str
500
+ retriable: bool
501
+ invalid_metadata: bool
502
+
503
+ class UnsupportedCompressionTypeError(BrokerResponseError):
504
+ errno: int
505
+ message: str
506
+ description: str
507
+ retriable: bool
508
+
509
+ class StaleBrokerEpochError(BrokerResponseError):
510
+ errno: int
511
+ message: str
512
+ description: str
513
+ retriable: bool
514
+
515
+ class OffsetNotAvailableError(BrokerResponseError):
516
+ errno: int
517
+ message: str
518
+ description: str
519
+ retriable: bool
520
+
521
+ class MemberIdRequiredError(BrokerResponseError):
522
+ errno: int
523
+ message: str
524
+ description: str
525
+ retriable: bool
526
+
527
+ class PreferredLeaderNotAvailableError(BrokerResponseError):
528
+ errno: int
529
+ message: str
530
+ description: str
531
+ retriable: bool
532
+ invalid_metadata: bool
533
+
534
+ class GroupMaxSizeReachedError(BrokerResponseError):
535
+ errno: int
536
+ message: str
537
+ description: str
538
+ retriable: bool
539
+
540
+ class FencedInstanceIdError(BrokerResponseError):
541
+ errno: int
542
+ message: str
543
+ description: str
544
+ retriable: bool
545
+
546
+ class EligibleLeadersNotAvailableError(BrokerResponseError):
547
+ errno: int
548
+ message: str
549
+ description: str
550
+ retriable: bool
551
+ invalid_metadata: bool
552
+
553
+ class ElectionNotNeededError(BrokerResponseError):
554
+ errno: int
555
+ message: str
556
+ description: str
557
+ retriable: bool
558
+ invalid_metadata: bool
559
+
560
+ class NoReassignmentInProgressError(BrokerResponseError):
561
+ errno: int
562
+ message: str
563
+ description: str
564
+ retriable: bool
565
+
566
+ class GroupSubscribedToTopicError(BrokerResponseError):
567
+ errno: int
568
+ message: str
569
+ description: str
570
+ retriable: bool
571
+
572
+ class InvalidRecordError(BrokerResponseError):
573
+ errno: int
574
+ message: str
575
+ description: str
576
+ retriable: bool
577
+
578
+ class UnstableOffsetCommitError(BrokerResponseError):
579
+ errno: int
580
+ message: str
581
+ description: str
582
+ retriable: bool
583
+
584
+ class ThrottlingQuotaExceededError(BrokerResponseError):
585
+ errno: int
586
+ message: str
587
+ description: str
588
+ retriable: bool
589
+
590
+ class ProducerFencedError(BrokerResponseError):
591
+ errno: int
592
+ message: str
593
+ description: str
594
+ retriable: bool
595
+
596
+ class ResourceNotFoundError(BrokerResponseError):
597
+ errno: int
598
+ message: str
599
+ description: str
600
+ retriable: bool
601
+
602
+ class DuplicateResourceError(BrokerResponseError):
603
+ errno: int
604
+ message: str
605
+ description: str
606
+ retriable: bool
607
+
608
+ class UnacceptableCredentialError(BrokerResponseError):
609
+ errno: int
610
+ message: str
611
+ description: str
612
+ retriable: bool
613
+
614
+ class InconsistentVoterSetError(BrokerResponseError):
615
+ errno: int
616
+ message: str
617
+ description: str
618
+ retriable: bool
619
+
620
+ class InvalidUpdateVersionError(BrokerResponseError):
621
+ errno: int
622
+ message: str
623
+ description: str
624
+ retriable: bool
625
+
626
+ class FeatureUpdateFailedError(BrokerResponseError):
627
+ errno: int
628
+ message: str
629
+ description: str
630
+ retriable: bool
631
+
632
+ class PrincipalDeserializationFailureError(BrokerResponseError):
633
+ errno: int
634
+ message: str
635
+ description: str
636
+ retriable: bool
637
+
638
+ class SnapshotNotFoundError(BrokerResponseError):
639
+ errno: int
640
+ message: str
641
+ description: str
642
+ retriable: bool
643
+
644
+ class PositionOutOfRangeError(BrokerResponseError):
645
+ errno: int
646
+ message: str
647
+ description: str
648
+ retriable: bool
649
+
650
+ class UnknownTopicIdError(BrokerResponseError):
651
+ errno: int
652
+ message: str
653
+ description: str
654
+ retriable: bool
655
+ invalid_metadata: bool
656
+
657
+ class DuplicateBrokerRegistrationError(BrokerResponseError):
658
+ errno: int
659
+ message: str
660
+ description: str
661
+ retriable: bool
662
+
663
+ class BrokerIdNotRegisteredError(BrokerResponseError):
664
+ errno: int
665
+ message: str
666
+ description: str
667
+ retriable: bool
668
+
669
+ class InconsistentTopicIdError(BrokerResponseError):
670
+ errno: int
671
+ message: str
672
+ description: str
673
+ retriable: bool
674
+ invalid_metadata: bool
675
+
676
+ class InconsistentClusterIdError(BrokerResponseError):
677
+ errno: int
678
+ message: str
679
+ description: str
680
+ retriable: bool
681
+
682
+ class TransactionalIdNotFoundError(BrokerResponseError):
683
+ errno: int
684
+ message: str
685
+ description: str
686
+ retriable: bool
687
+
688
+ class FetchSessionTopicIdError(BrokerResponseError):
689
+ errno: int
690
+ message: str
691
+ description: str
692
+ retriable: bool
693
+
694
+ class IneligibleReplicaError(BrokerResponseError):
695
+ errno: int
696
+ message: str
697
+ description: str
698
+ retriable: bool
699
+
700
+ class NewLeaderElectedError(BrokerResponseError):
701
+ errno: int
702
+ message: str
703
+ description: str
704
+ retriable: bool
705
+
706
+ class OffsetMovedToTieredStorageError(BrokerResponseError):
707
+ errno: int
708
+ message: str
709
+ description: str
710
+ retriable: bool
711
+
712
+ class FencedMemberEpochError(BrokerResponseError):
713
+ errno: int
714
+ message: str
715
+ description: str
716
+ retriable: bool
717
+
718
+ class UnreleasedInstanceIdError(BrokerResponseError):
719
+ errno: int
720
+ message: str
721
+ description: str
722
+ retriable: bool
723
+
724
+ class UnsupportedAssignorError(BrokerResponseError):
725
+ errno: int
726
+ message: str
727
+ description: str
728
+ retriable: bool
729
+
730
+ class StaleMemberEpochError(BrokerResponseError):
731
+ errno: int
732
+ message: str
733
+ description: str
734
+ retriable: bool
735
+
736
+ class MismatchedEndpointTypeError(BrokerResponseError):
737
+ errno: int
738
+ message: str
739
+ description: str
740
+ retriable: bool
741
+
742
+ class UnsupportedEndpointTypeError(BrokerResponseError):
743
+ errno: int
744
+ message: str
745
+ description: str
746
+ retriable: bool
747
+
748
+ class UnknownControllerIdError(BrokerResponseError):
749
+ errno: int
750
+ message: str
751
+ description: str
752
+ retriable: bool
753
+
754
+ class UnknownSubscriptionIdError(BrokerResponseError):
755
+ errno: int
756
+ message: str
757
+ description: str
758
+ retriable: bool
759
+
760
+ class TelemetryTooLargeError(BrokerResponseError):
761
+ errno: int
762
+ message: str
763
+ description: str
764
+ retriable: bool
765
+
766
+ class InvalidRegistrationError(BrokerResponseError):
767
+ errno: int
768
+ message: str
769
+ description: str
770
+ retriable: bool
771
+
772
+ class TransactionAbortableError(BrokerResponseError):
773
+ errno: int
774
+ message: str
775
+ description: str
776
+ retriable: bool
777
+
778
+ class InvalidRecordStateError(BrokerResponseError):
779
+ errno: int
780
+ message: str
781
+ description: str
782
+ retriable: bool
783
+
784
+ class ShareSessionNotFoundError(BrokerResponseError):
785
+ errno: int
786
+ message: str
787
+ description: str
788
+ retriable: bool
789
+
790
+ class InvalidShareSessionEpochError(BrokerResponseError):
791
+ errno: int
792
+ message: str
793
+ description: str
794
+ retriable: bool
795
+
796
+ class FencedStateEpochError(BrokerResponseError):
797
+ errno: int
798
+ message: str
799
+ description: str
800
+ retriable: bool
801
+
802
+ class InvalidVoterKeyError(BrokerResponseError):
803
+ errno: int
804
+ message: str
805
+ description: str
806
+ retriable: bool
807
+
808
+ class DuplicateVoterError(BrokerResponseError):
809
+ errno: int
810
+ message: str
811
+ description: str
812
+ retriable: bool
813
+
814
+ class VoterNotFoundError(BrokerResponseError):
815
+ errno: int
816
+ message: str
817
+ description: str
818
+ retriable: bool
819
+
820
+ kafka_errors: Incomplete
821
+
822
+ def for_code(error_code): ...