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

Add group exclusion #127

Closed
wants to merge 2 commits into from
Closed

Add group exclusion #127

wants to merge 2 commits into from

Conversation

lobeck
Copy link

@lobeck lobeck commented Oct 11, 2019

Similar to #104, allows exclusion of consumer groups as regex in golang can't to negative lookaheads and can only act as whitelist and not as a blacklist

Similar to #104, allows exclusion of consumer groups as regex in golang can't to negative lookaheads and can only act as whitelist and not as a blacklist
a empty string will always match and therefore blacklist everything, ^$ will never match
@lobeck
Copy link
Author

lobeck commented Oct 12, 2019

Tested this now in our stage system and was able to reduce the load on kafka massively with a filter for UUID consumer groups:

--group.exclude=^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

@danielqsj
Copy link
Owner

thanks, closed by #379

@danielqsj danielqsj closed this May 23, 2023
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

Successfully merging this pull request may close these issues.

2 participants