Skip to content

Commit f88c550

Browse files
author
Ryan P
authored
Fix incorrect timestamp unit in Producer docs (#384) (#385)
1 parent 66a1814 commit f88c550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confluent_kafka/src/Producer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static PyMethodDef Producer_methods[] = {
505505
" :param func on_delivery(err,msg): Delivery report callback to call "
506506
"(from :py:func:`poll()` or :py:func:`flush()`) on successful or "
507507
"failed delivery\n"
508-
" :param int timestamp: Message timestamp (CreateTime) in microseconds since epoch UTC (requires librdkafka >= v0.9.4, api.version.request=true, and broker >= 0.10.0.0). Default value is current time.\n"
508+
" :param int timestamp: Message timestamp (CreateTime) in milliseconds since epoch UTC (requires librdkafka >= v0.9.4, api.version.request=true, and broker >= 0.10.0.0). Default value is current time.\n"
509509
"\n"
510510
" :rtype: None\n"
511511
" :raises BufferError: if the internal producer message queue is "

0 commit comments

Comments
 (0)