snowplow / snowbridge

For replicating streams across clouds, accounts and regions
Other
15 stars 7 forks source link

Refactor v1 release filters #192

Closed colmsnowplow closed 2 years ago

colmsnowplow commented 2 years ago

In reviewing the v1 PR, there were some issues with filtering which were difficult to map because of how the code was structured. This issue documents the changes made in order to resolve that issue, and fixup some of the issues in the filtering feature which can be found in this PR.

Commits referenced below will be squashed and rebased - but keeping the references here in order to refer to the specific changes in turn.

This also changes the API for unstruct filters here to make the checks on event name and version explicit on configuration.


Additionaly, the following are things that I think we should improve, but shouldn't block v1 release for. Documenting them here in the name of completeness: