-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add advanced message filtering options
- Introduced filtering options to include or exclude messages based on patterns. - Added `max-message-size` to limit the size of messages processed. - Implemented regex filtering using `regexp` for flexible pattern matching. - Integrated JSON filtering with `gojq` to enable powerful filtering with JSON expressions. - Updated command-line flags to support new filtering features: - `--include-patterns` to specify inclusion patterns. - `--exclude-patterns` to exclude messages matching specified patterns. - `--regex-filter` for regex-based filtering. - `--json-filter` for JSON-based filtering. - `--max-message-size` to set a maximum message size in bytes. - Refactored message processing pipeline in `Consumer` to support layered filters. - Updated `PrintConfig` to include the new filter configuration.
- Loading branch information
1 parent
ce1f731
commit 3442bee
Showing
8 changed files
with
214 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters