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

    https://github.com/apache/storm/pull/1998#discussion_r106768041
  
    --- Diff: 
external/storm-eventhubs/src/main/java/org/apache/storm/eventhubs/bolt/EventHubBolt.java
 ---
    @@ -84,11 +85,47 @@ public void prepare(Map config, TopologyContext context,
        @Override
        public void execute(Tuple tuple) {
                try {
    -                   
sender.send(boltConfig.getEventDataFormat().serialize(tuple));
    +                   EventData sendEvent = new 
EventData(boltConfig.getEventDataFormat().serialize(tuple));
    +                   if(boltConfig.getPartitionMode() && sender!=null)
    --- End diff --
    
    can you please add braces around if conditions. This goes to all of the 
code.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to