Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch message filters from polling to subscribing to change events (#…
…2496) * Switch stream router from polling to subscription for updates Previously every StreamRouter instance was polling for stream changes every second. Now it's listening on the server event bus for updates. Stream related REST endpoints are now posting events when updating stream configuration. * Switch extractor filter from polling to subscription for updates Before this, every ExtractorFilter was using a cache which expired after 1 second for the extractors. So it was basically polling the extractors every second. * Switch static fields filter from polling to subscription for updates Before this, every StaticFieldFilter instance was using a cache which expired after 1 second. It was basically polling the static fields configuration every second. * Switch rules filter from polling to subscription for updates Before this, every RulesFilter instance was using a cache which expired after 1 second so it was basically polling for new rules every second. Fixes #2391
- Loading branch information
Showing
13 changed files
with
348 additions
and
134 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
Oops, something went wrong.