File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,14 @@ The Python bindings also provide some additional configuration properties:
78
78
* ``default.topic.config ``: value is a dict of topic-level configuration
79
79
properties that are applied to all used topics for the instance.
80
80
81
- * ``error_cb ``: Callback for generic/global error events. This callback is served by
81
+ * ``error_cb(kafka.KafkaError) ``: Callback for generic/global error events. This callback is served by
82
82
poll().
83
83
84
- * ``on_delivery `` (**Producer **): value is a Python function reference
84
+ * ``on_delivery(kafka.KafkaError, kafka.Message) `` (**Producer **): value is a Python function reference
85
85
that is called once for each produced message to indicate the final
86
86
delivery result (success or failure).
87
87
This property may also be set per-message by passing ``callback=callable ``
88
88
(or ``on_delivery=callable ``) to the confluent_kafka.Producer.produce() function.
89
89
90
- * ``on_commit `` (**Consumer **): Callback used to indicate success or failure
90
+ * ``on_commit(kafka.KafkaError, list(kafka.TopicPartition)) `` (**Consumer **): Callback used to indicate success or failure
91
91
of commit requests.
You can’t perform that action at this time.
0 commit comments