OpenSOC / opensoc-streaming

Extensible set of Storm topologies and topology attributes for streaming, enriching, indexing, and storing telemetry in Hadoop.
http://opensoc.github.io
Apache License 2.0
131 stars 93 forks source link

Wrong configuration string *bolt.parser* confused with *parser.bolt* #7

Open bastianhafer opened 9 years ago

bastianhafer commented 9 years ago

When running the topology pcap, enabling or disabling the parser bolt will have no effect. The class TopologyRunner will ask the configuration for the boolean value of "parser.bolt.enabled" whereas in the configuration file the string "bolt.parser.enabled" is used.

Suggestion: Stick to the strategy in the configuration file. All strings start with the type of the element they are enabling. Change TopologyRunner to ask for "bolt.parser.enabled". The class can be found in OpenSOC-Topologies/src/main/java/com.opensoc.topology.runner.