You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.rst
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,9 @@ The Python bindings also provide some additional configuration properties:
81
81
* ``error_cb(kafka.KafkaError)``: Callback for generic/global error events. This callback is served by
82
82
poll().
83
83
84
-
* ``stats_cb(json_str)``: Callback for statistics data. This callback is triggered by poll() every ``statistics.interval.ms`` (needs to be configured separately). Function argument ``json_str`` is a str instance of a JSON document containing statistics data.
84
+
* ``stats_cb(json_str)``: Callback for statistics data. This callback is triggered by poll()
85
+
every ``statistics.interval.ms`` (needs to be configured separately).
86
+
Function argument ``json_str`` is a str instance of a JSON document containing statistics data.
85
87
86
88
* ``on_delivery(kafka.KafkaError, kafka.Message)`` (**Producer**): value is a Python function reference
87
89
that is called once for each produced message to indicate the final
0 commit comments