-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consumer supplied filters when producing, along with a producer filter (
#36) * Consumer supplied filters when producing When producing from the edge, the consumer may also supply filters. The changes here implement that by providing a watch channel for the upstream gRPC producer. * Possibly better name for flowing gRPC events * Beginnings of fleshing out the filtering further Note quite working yet. * Replace WithEntityId and streamlined EventType usage By conveying a PersistenceId instead of an EntityId for envelopes, we can reduce the places where we need to declare the event type. * Includes a test for the consumer filter * Makes the filter update-able as per the JVM * Doc * Provides a producer filter * Formatting * Correctly merge criteria into filters * Filter tests * Use more refs - reduces the clones * Improved bench Was previously running the stream only once * Improved some names * Restrict the max size of a filter's fields We should always endeavour to avoid running out of heap * Improve the filter dx * More DX tidy-up * MQTT protocol is now hidden The MQTT TopicFilter is hidden to the outside so that we can freely change it, as we're not necessarily supporting all of MQTT's capabilities. * Filter by entity ids for edge based consumers
- Loading branch information
Showing
15 changed files
with
778 additions
and
123 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
Oops, something went wrong.