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

    
https://github.com/apache/incubator-apex-malhar/pull/275#discussion_r63432478
  
    --- Diff: 
kafka/src/main/java/org/apache/apex/malhar/kafka/AbstractKafkaInputOperator.java
 ---
    @@ -413,33 +413,39 @@ public int getInitialPartitionCount()
         return initialPartitionCount;
       }
     
    -  public void setClusters(String clusters)
    -  {
    -    this.clusters = clusters.split(";");
    -  }
    -
       /**
        *  Same setting as bootstrap.servers property to KafkaConsumer
        *  refer to 
http://kafka.apache.org/documentation.html#newconsumerconfigs
    -   *  To support multi cluster, you can have multiple bootstrap.servers 
separated by ";"
    +   *  To support multi cluster, you can have multiple elements in the array
        */
    -  public String getClusters()
    +  public void setClusters(String[] clusters)
       {
    -    return Joiner.on(';').join(clusters);
    +    this.clusters = clusters;
    --- End diff --
    
    Yes, it should work in xml. This is an example configuration for clusters: 
`"localhost:9092, localhost:9093", "localhost2:9092"`


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