@@ -988,7 +988,7 @@ static PyMethodDef Consumer_methods[] = {
988
988
" .. note: Callbacks may be called from this method, "
989
989
"such as ``on_assign``, ``on_revoke``, et.al.\n"
990
990
"\n"
991
- " :param float timeout: Maximum time to block waiting for message, event or callback.\n"
991
+ " :param float timeout: Maximum time to block waiting for message, event or callback. (Seconds) \n"
992
992
" :returns: A Message object or None on timeout\n"
993
993
" :rtype: :py:class:`Message` or None\n"
994
994
" :raises: RuntimeError if called on a closed consumer\n"
@@ -1011,7 +1011,7 @@ static PyMethodDef Consumer_methods[] = {
1011
1011
"such as ``on_assign``, ``on_revoke``, et.al.\n"
1012
1012
"\n"
1013
1013
" :param int num_messages: Maximum number of messages to return (default: 1).\n"
1014
- " :param float timeout: Maximum time to block waiting for message, event or callback (default: infinite (-1)).\n"
1014
+ " :param float timeout: Maximum time to block waiting for message, event or callback (default: infinite (-1)). (Seconds) \n"
1015
1015
" :returns: A list of Message objects (possibly empty on timeout)\n"
1016
1016
" :rtype: list(Message)\n"
1017
1017
" :raises: RuntimeError if called on a closed consumer, KafkaError "
@@ -1090,7 +1090,7 @@ static PyMethodDef Consumer_methods[] = {
1090
1090
"\n"
1091
1091
" :param list(TopicPartition) partitions: List of topic+partitions "
1092
1092
"to query for stored offsets.\n"
1093
- " :param float timeout: Request timeout\n"
1093
+ " :param float timeout: Request timeout. (Seconds) \n"
1094
1094
" :returns: List of topic+partitions with offset and possibly error set.\n"
1095
1095
" :rtype: list(TopicPartition)\n"
1096
1096
" :raises: KafkaException\n"
@@ -1143,7 +1143,7 @@ static PyMethodDef Consumer_methods[] = {
1143
1143
" Retrieve low and high offsets for partition.\n"
1144
1144
"\n"
1145
1145
" :param TopicPartition partition: Topic+partition to return offsets for."
1146
- " :param float timeout: Request timeout (when cached=False).\n"
1146
+ " :param float timeout: Request timeout (when cached=False). (Seconds) \n"
1147
1147
" :param bool cached: Instead of querying the broker used cached information. "
1148
1148
"Cached values: The low offset is updated periodically (if statistics.interval.ms is set) while "
1149
1149
"the high offset is updated on each message fetched from the broker for this partition."
@@ -1164,7 +1164,7 @@ static PyMethodDef Consumer_methods[] = {
1164
1164
" corresponding partition.\n"
1165
1165
"\n"
1166
1166
" :param list(TopicPartition) partitions: topic+partitions with timestamps in the TopicPartition.offset field."
1167
- " :param float timeout: Request timeout.\n"
1167
+ " :param float timeout: Request timeout. (Seconds) \n"
1168
1168
" :returns: list of topic+partition with offset field set and possibly error set\n"
1169
1169
" :rtype: list(TopicPartition)\n"
1170
1170
" :raises: KafkaException\n"
0 commit comments