Skip to content

feat: support multiple SubscribeFilter #1709

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mSabzali
Copy link

@mSabzali mSabzali commented Jul 1, 2025

Feature: Enhance SubscribeFilter to Support Multiple Instances

Summary

This PR enhances the filtering mechanism by allowing the use of multiple filters instead of just one. It provides more flexibility and enables advanced scenarios where multiple filters need to be applied in sequence or conditionally.

What Has Changed

  • Modified the configuration model to support multiple filters.
  • Preserved backward compatibility: single-filter configurations still work.

Why It's Useful

This feature enables scenarios where users need to:

  • Apply layered processing logic
  • Compose filters in different modules
  • Have more granular control over message handling

Testing

  • All existing tests pass

Notes

  • This is my first contribution to CAP
  • Let me know if you'd like any changes, improvements, or if you'd prefer an issue to be created for tracking.

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.

1 participant