Skip to content

Commit ee84135

Browse files
committed
typo in produce API documentation
1 parent 080b60d commit ee84135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/src/Producer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ static PyMethodDef Producer_methods[] = {
584584
"failed delivery\n"
585585
" :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"
586586
"\n"
587-
" :param headers dict|list: Message headers to set on the message. The header key must be a string while the value must be binary, unicode or None. Accepts a list of (key,value) or a dict. (Requires librdkafka >= v0.11.4 and broker version >= 0.11.0.0)\n"
587+
" :param dict|list headers: Message headers to set on the message. The header key must be a string while the value must be binary, unicode or None. Accepts a list of (key,value) or a dict. (Requires librdkafka >= v0.11.4 and broker version >= 0.11.0.0)\n"
588588
" :rtype: None\n"
589589
" :raises BufferError: if the internal producer message queue is "
590590
"full (``queue.buffering.max.messages`` exceeded)\n"

0 commit comments

Comments
 (0)