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

Pattern subscription #96

Closed
vincepri opened this issue Sep 24, 2017 · 3 comments
Closed

Pattern subscription #96

vincepri opened this issue Sep 24, 2017 · 3 comments
Labels

Comments

@vincepri
Copy link

Is pattern subscription supported? As far as I can tell I can only blacklist topics from the metadata in the configuration reported here.

If this feature is not supported and the consumer is thread-safe, I guess one possible approach would be to check and subscribe on demand when the metadata changes at runtime from a goroutine running on a timer.

@treziac
Copy link

treziac commented Sep 25, 2017

SubscribeTopics support regex for topics prefixed with ^

@edenhill
Copy link
Contributor

edenhill commented Sep 25, 2017

To extend on what @treziac says: patterned topics ("^my.*pattern..") and fixed topics ("aTopic") can be freely mixed in the subscription list.

@vincepri
Copy link
Author

Perfect, thanks!

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

No branches or pull requests

3 participants