@Generated(value="org.jsonschema2pojo") public class KafkaConfiguration extends Object implements Serializable
Constructor and Description |
---|
KafkaConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getBrokerlist()
A comma-delimited list of broker nodes, used by producer
|
String |
getGroupId()
A required field for partitioning distributed consumers
|
String |
getTopic()
A topic to read/write from
|
String |
getZkconnect()
A comma-delimited list of zookeeper host:ports, used by consumer
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setBrokerlist(String brokerlist)
A comma-delimited list of broker nodes, used by producer
|
void |
setGroupId(String groupId)
A required field for partitioning distributed consumers
|
void |
setTopic(String topic)
A topic to read/write from
|
void |
setZkconnect(String zkconnect)
A comma-delimited list of zookeeper host:ports, used by consumer
|
String |
toString() |
KafkaConfiguration |
withAdditionalProperty(String name,
Object value) |
KafkaConfiguration |
withBrokerlist(String brokerlist) |
KafkaConfiguration |
withGroupId(String groupId) |
KafkaConfiguration |
withTopic(String topic) |
KafkaConfiguration |
withZkconnect(String zkconnect) |
@BeanProperty(value="brokerlist") public String getBrokerlist()
@BeanProperty(value="brokerlist") public void setBrokerlist(String brokerlist)
brokerlist
- The brokerlistpublic KafkaConfiguration withBrokerlist(String brokerlist)
@BeanProperty(value="zkconnect") public String getZkconnect()
@BeanProperty(value="zkconnect") public void setZkconnect(String zkconnect)
zkconnect
- The zkconnectpublic KafkaConfiguration withZkconnect(String zkconnect)
@BeanProperty(value="topic") public String getTopic()
@BeanProperty(value="topic") public void setTopic(String topic)
topic
- The topicpublic KafkaConfiguration withTopic(String topic)
@BeanProperty(value="groupId") public String getGroupId()
@BeanProperty(value="groupId") public void setGroupId(String groupId)
groupId
- The groupIdpublic KafkaConfiguration withGroupId(String groupId)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public KafkaConfiguration withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.