Github user merrimanr commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/308#discussion_r83303195
  
    --- Diff: 
metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java
 ---
    @@ -117,7 +117,7 @@ public void execute(Tuple tuple) {
           int numWritten = 0;
           if(sensorParserConfig != null) {
             List<FieldValidator> fieldValidations = 
getConfigurations().getFieldValidations();
    -        Optional<List<JSONObject>> messages = 
parser.parseOptional(originalMessage);
    +        Optional<List<JSONObject>> messages = 
parser.parseOptional(originalMessage, sensorParserConfig);
    --- End diff --
    
    Line 112.  The ConfiguredParserBolt classes ensures a call to 
getSensorParserConfig() always returns the latest config.  Check out that class 
and ConfiguredBolt, they leverage Apache Curator to listen for Zookeeper 
changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to