public class KafkaConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
bufferSizeBytes |
java.lang.String |
clientId |
int |
fetchMaxWait |
int |
fetchSizeBytes |
BrokerHosts |
hosts |
boolean |
ignoreZkOffsets |
long |
maxOffsetBehind |
int |
metricsTimeBucketSizeInSecs |
int |
minFetchByte |
MultiScheme |
scheme |
int |
socketTimeoutMs |
long |
startOffsetTime |
java.lang.String |
topic |
boolean |
useStartOffsetTimeIfOffsetOutOfRange |
Constructor and Description |
---|
KafkaConfig(BrokerHosts hosts,
java.lang.String topic) |
KafkaConfig(BrokerHosts hosts,
java.lang.String topic,
java.lang.String clientId) |
public final BrokerHosts hosts
public final java.lang.String topic
public final java.lang.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, java.lang.String topic)
public KafkaConfig(BrokerHosts hosts, java.lang.String topic, java.lang.String clientId)