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

    https://github.com/apache/apex-malhar/pull/351#discussion_r73824988
  
    --- Diff: 
contrib/src/main/java/com/datatorrent/contrib/kafka/AbstractKafkaInputOperator.java
 ---
    @@ -188,6 +188,8 @@
       @Min(1)
       private int initialPartitionCount = 1;
     
    +  private boolean isPartitionBasedOnLoad = false;
    --- End diff --
    
    Is this can be achieved as follows. Please correct it, if I am wrong.
    if (msgRateUpperBound != Long.MAX_VALUE) {
    /// Dynamic partition based on load is enabled
    } else {
    /// Dynamic partition based on load is disabled
    }



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