Skip to content

Commit a2d71a1

Browse files
LasseGravesenedenhill
authored andcommitted
update docs for poll to describe default timeout behaviour.
1 parent e4d0c79 commit a2d71a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/src/Consumer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ static PyMethodDef Consumer_methods[] = {
10721072
" .. note: Callbacks may be called from this method, "
10731073
"such as ``on_assign``, ``on_revoke``, et.al.\n"
10741074
"\n"
1075-
" :param float timeout: Maximum time to block waiting for message, event or callback. (Seconds)\n"
1075+
" :param float timeout: Maximum time to block waiting for message, event or callback (default: infinite (None translated into -1 in the library)). (Seconds)\n"
10761076
" :returns: A Message object or None on timeout\n"
10771077
" :rtype: :py:class:`Message` or None\n"
10781078
" :raises: RuntimeError if called on a closed consumer\n"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy