Skip to content

Commit d910278

Browse files
hrchuedenhill
authored andcommitted
Update subscribe document
1 parent 1ae12ba commit d910278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

confluent_kafka/src/Consumer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ static PyObject *Consumer_close (Handle *self, PyObject *ignore) {
10091009
static PyMethodDef Consumer_methods[] = {
10101010
{ "subscribe", (PyCFunction)Consumer_subscribe,
10111011
METH_VARARGS|METH_KEYWORDS,
1012-
".. py:function:: subscribe(topics, [listener=None])\n"
1012+
".. py:function:: subscribe(topics, [on_assign=None], [on_revoke=None])\n"
10131013
"\n"
10141014
" Set subscription to supplied list of topics\n"
10151015
" This replaces a previous subscription.\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