public class TestNode
extends org.thales.punch.libraries.storm.api.BaseProcessingNode
{
"type": "test_bolt",
"bolt_settings": {
// to print what is going on
"verbose" : true,
// fail if the tuple has some filed that contains a string
"fail_if_contains" : "May 10 09:44:30 host2 189.121.17.148 - - [17/Jan/2017:05:37:15 +0100]"
or
// fail every. Use -1 to disable
"fail_every" : 10
}
...
}
Constructor and Description |
---|
TestNode(org.thales.punch.libraries.storm.api.NodeSettings boltConfig)
Ctor
|
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.storm.tuple.Tuple tuple)
The execute method is called by storm whenever some new tuples traverse the topology.
|
Copyright © 2023. All rights reserved.