Support default route option for Events that match no other route.
Currently DataPrepper doesn't have a away to forward event when none of the routes match. Users are expected to explicitly write a route for negation of all the other routes. This feature would allow events not matching any routes to be routed using "_default" route in sink config.
Issues Resolved
Resolves #4615
Check List
[ X] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.
[ ] New functionality has javadoc added
[X ] Commits are signed with a real name per the DCO
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Description
Support default route option for Events that match no other route. Currently DataPrepper doesn't have a away to forward event when none of the routes match. Users are expected to explicitly write a route for negation of all the other routes. This feature would allow events not matching any routes to be routed using "_default" route in sink config.
Issues Resolved
Resolves #4615
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.