Skip to content
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

Subscribe to topics by pattern #390

Open
che-shr-cat opened this issue Jul 25, 2019 · 4 comments
Open

Subscribe to topics by pattern #390

che-shr-cat opened this issue Jul 25, 2019 · 4 comments

Comments

@che-shr-cat
Copy link

che-shr-cat commented Jul 25, 2019

Hi,

Do I correctly understand that subscribing to kafka topics using regex patterns doesn't work?

The docs on topics (https://faust.readthedocs.io/en/latest/reference/faust.topics.html) says:

pattern (Union[str, Pattern[AnyStr], None]) – Regular expression evaluated to decide what topics to subscribe to. You cannot specify both topics and a pattern.

But I hadn't any success in using it. Finally I found the following comment:

# XXX pattern does not work :/

So, are there any way to subscribe to kafka topics by pattern (and dynamically get any message from a newly created topic satisfying the pattern)?

@artas728
Copy link

artas728 commented Jan 4, 2020

Same question
How to subscribe to a topic using patterns?
Thanks

@fisuk
Copy link

fisuk commented Jan 24, 2020

Are there any updates on this? I had a go with the source and tried to get the patterns working, but failed miserably because my lack of time and understanding. My understanding is that patterns are never actually passed along to aiokafka, only the topics are passed along, but I'm obviously missing something.

@m4nuC
Copy link

m4nuC commented Oct 13, 2020

@che-shr-cat @artas728 @fisuk have you guys figured it out?

@pembeci
Copy link

pembeci commented Nov 20, 2020

Same question. If this is not implemented yet fully, it will be nice to notify users in the docs.

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

5 participants