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

    https://github.com/apache/incubator-metron/pull/127#discussion_r64669773
  
    --- Diff: 
metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java
 ---
    @@ -60,7 +93,25 @@ public void prepare(Map stormConf, TopologyContext 
context, OutputCollector coll
         super.prepare(stormConf, context, collector);
         this.collector = collector;
         parser.init();
    -    writer.init();
    +
    +    if(isBulk) {
    +      writerTransformer = config -> new ParserWriterConfiguration(config);
    --- End diff --
    
    Ah I see.  That is very defensive.  I like it :)


---
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