public interface KafkaDataSetDefBuilder<T extends DataSetDefBuilder> extends DataSetDefBuilder<T>
DataSetDef dataSetDef = DataSetDefFactory.newKafkaDataSetDef()
.host("localhost")
.port(9999)
.buildDef();
| Modifier and Type | Method and Description |
|---|---|
T |
clientId(String clientId)
Set the data set client Id
|
T |
filter(String filter)
Set the data set filter
|
T |
host(String host)
Set the data set kafka host
|
T |
nodeId(String nodeId)
Set the data set node id
|
T |
partition(String partition)
Set the data set partition
|
T |
port(String port)
Set the RMI port
|
T |
target(KafkaDataSetDef.MetricsTarget target)
Set the data set kafka metrics target
|
T |
topic(String topic)
Set the data set topic
|
T host(String host)
host - The Kafka server with JMX enabled where this data set should collect metrics fromT port(String port)
port - The Kafka RMI portT target(KafkaDataSetDef.MetricsTarget target)
host - The metrics targetT clientId(String clientId)
clientId - Optional parameter to set a clientId to collect metricsT filter(String filter)
clientId - Optional parameter to set a clientId to collect metricsT nodeId(String nodeId)
nodeId - The node Id that can be used when collecting metricsT topic(String topic)
topic - The topic that will be used to collect metrics against itCopyright © 2017–2021 JBoss by Red Hat. All rights reserved.