We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 312bd1f commit 6214e57Copy full SHA for 6214e57
confluent_kafka/src/Consumer.c
@@ -416,6 +416,11 @@ static PyMethodDef Consumer_methods[] = {
416
"\n"
417
" Set subscription to supplied list of topics\n"
418
" This replaces a previous subscription.\n"
419
+ "\n"
420
+ " Regexp pattern subscriptions are supported by prefixing "
421
+ "the topic string with ``\"^\"``, e.g.::\n"
422
423
+ " consumer.subscribe([\"^my_topic.*\", \"^another[0-9]-?[a-z]+$\", \"not_a_regex\"])\n"
424
425
" :param list(str) topics: List of topics (strings) to subscribe to.\n"
426
" :param callable on_assign: callback to provide handling of "
0 commit comments