Skip to content

Commit 0b2e874

Browse files
committed
log_cb in SerializingProducer and DeserializingConsumer docstring should be logger
1 parent ee84135 commit 0b2e874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/confluent_kafka/deserializing_consumer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class DeserializingConsumer(_ConsumerImpl):
6868
| | | errors are typically to be considered informational |
6969
| | | since the client will automatically try to recover. |
7070
+-------------------------+---------------------+-----------------------------------------------------+
71-
| ``log_cb`` | ``logging.Handler`` | Logging handler to forward logs |
71+
| ``logger`` | ``logging.Handler`` | Logging handler to forward logs |
7272
+-------------------------+---------------------+-----------------------------------------------------+
7373
| | | Callable(str) |
7474
| | | |

src/confluent_kafka/serializing_producer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class SerializingProducer(_ProducerImpl):
7676
| | | errors are typically to be considered informational |
7777
| | | since the client will automatically try to recover. |
7878
+-------------------------+---------------------+-----------------------------------------------------+
79-
| ``log_cb`` | ``logging.Handler`` | Logging handler to forward logs |
79+
| ``logger`` | ``logging.Handler`` | Logging handler to forward logs |
8080
+-------------------------+---------------------+-----------------------------------------------------+
8181
| | | Callable(str) |
8282
| | | |

0 commit comments

Comments
 (0)