public class KafkaConfig extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
int |
bufferSizeBytes |
String |
clientId |
int |
fetchMaxWait |
int |
fetchSizeBytes |
BrokerHosts |
hosts |
boolean |
ignoreZkOffsets |
long |
maxOffsetBehind |
int |
metricsTimeBucketSizeInSecs |
int |
minFetchByte |
MultiScheme |
scheme |
int |
socketTimeoutMs |
long |
startOffsetTime |
String |
topic |
boolean |
useStartOffsetTimeIfOffsetOutOfRange |
Constructor and Description |
---|
KafkaConfig(BrokerHosts hosts,
String topic) |
KafkaConfig(BrokerHosts hosts,
String topic,
String clientId) |
public final BrokerHosts hosts
public final String topic
public final String clientId
public int fetchSizeBytes
public int socketTimeoutMs
public int fetchMaxWait
public int bufferSizeBytes
public MultiScheme scheme
public boolean ignoreZkOffsets
public long startOffsetTime
public long maxOffsetBehind
public boolean useStartOffsetTimeIfOffsetOutOfRange
public int metricsTimeBucketSizeInSecs
public int minFetchByte
public KafkaConfig(BrokerHosts hosts, String topic)
public KafkaConfig(BrokerHosts hosts, String topic, String clientId)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.