confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

What unit is Customer.poll's timeout?

Open eliasschoof opened this issue 8 years ago • 2 comments

The Customer.subscribe() method takes an optional argument timeout. The documentation does not specify the unit of this variable. Is it seconds?

eliasschoof avatar Mar 19 '18 10:03 eliasschoof

Yes, seconds (float). The underlying granularity is milliseconds.

edenhill avatar Mar 19 '18 10:03 edenhill

Marking as closed as it looks like the relevant changes have been made to the docs on master as well.

rnpridgeon avatar Mar 23 '18 21:03 rnpridgeon