Skip to content

add an option to send only matches to receiving services #20

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

nvdk
Copy link
Member

@nvdk nvdk commented Jan 23, 2025

A lot of services only care about certain triples, having this filtering logic in one place seems logical to me.
This greatly reduces the size of delta messages in stacks with large data changes, limiting the amount of json serialization that needs to be done at both ends.

NOTE: this currently only adapts insert and delete on a changeSet, but not the effectiveInsert and effectiveDelete. If this feature is deemed useful I can quite easily extend the logic to also filter those.

EDIT: I set up a build, you can test this using nvdk/mu-delta-notifier:feature-filter-changesets

this greatly reduces the size of delta messages in stacks with large data changes.
@nvdk nvdk mentioned this pull request Jan 23, 2025
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