Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Success and failure streams. 1 to n patterns

Latest

Choose a tag to compare

@mvalleavila mvalleavila released this 10 Feb 10:15

This bolt receives a byte array and search for regex patterns configured in propery file.
If the message contains a whitelisted pattern, then it's emitted to the default stream and the "success" bolt stream. Other case the message is sent to "failure" bolt stream (if the stream failure is not connected in the topology, the message will be discarded)
If whitelist isn't configured, blacklist can be used to discard all messages that contains a blacklisted pattern