Skip to content

Commit 535d8f6

Browse files
committed
Retain but deprecate kafka.errors.ConnectionError for compatibility
1 parent 39ebe1d commit 535d8f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kafka/errors.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ class KafkaConnectionError(KafkaError):
456456
invalid_metadata = True
457457

458458

459+
class ConnectionError(KafkaConnectionError):
460+
"""Deprecated"""
461+
462+
459463
class BufferUnderflowError(KafkaError):
460464
pass
461465

0 commit comments

Comments
 (0)