Skip to content

subscribe doesn't seem to accept wildcard topic names #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ronnocol opened this issue Aug 10, 2016 · 1 comment
Closed

subscribe doesn't seem to accept wildcard topic names #29

ronnocol opened this issue Aug 10, 2016 · 1 comment

Comments

@ronnocol
Copy link

Is there anyway to subscribe to topics using a wildcard/regex using confluent-kafka-python? I know there are other clients (based on librdkafka) that support this functionality (e.g. kafka-python), but this one doesn't seem to.

@edenhill
Copy link
Contributor

To enable regex matching you need to prefix the subscribed topic with ^, e.g.,^logs_.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants