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

feat: Convenience filter all consumer filter #965

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

johanandren
Copy link
Member

No description provided.

* Exclude events from all entity ids, convenience for combining with for example a topic filter
* to include only events matching the topic filter.
*/
val filterAll = ExcludeRegexEntityIds(Set(".*"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excludeAll ?

filterAll is somewhat ambiguous if it's include or exclude

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I always need to check scala collection filter vs filterNot...

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after minor...

@patriknw patriknw merged commit 2c16a47 into main Aug 29, 2023
25 checks passed
@patriknw patriknw deleted the wip-filter-all-consumer-filter branch August 29, 2023 09:55
@patriknw patriknw added this to the 1.5.0-M3 milestone Aug 29, 2023
@johanandren johanandren modified the milestones: 1.5.0-M3, 1.5.0-M4 Aug 29, 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