public class KafkaConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
KafkaConfig(PropertySupplier propertySupplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T> T |
getConfig(PropertyDef key) |
protected <T> T |
getConfig(String key,
PropertyDef.Type type,
Object defaultValue) |
boolean |
getFetchDelay() |
boolean |
getFuzzySearchEnable() |
boolean |
getLogDetail(String app) |
boolean |
getMetadataCacheEnable() |
int |
getMetadataCacheExpireTime() |
int |
getMetadataDelay() |
boolean |
getMetadataDelayEnable() |
int |
getOffsetSyncTimeout() |
int |
getProduceDelay() |
boolean |
getProduceDelayEnable() |
int |
getProduceTimeout() |
int |
getRebalanceInitialDelay() |
int |
getRebalanceTimeout() |
int |
getSessionMaxTimeout() |
int |
getSessionMinTimeout() |
String |
getTransactionLogApp() |
int |
getTransactionLogInterval() |
int |
getTransactionLogRetries() |
int |
getTransactionLogScanSize() |
org.joyqueue.domain.QosLevel |
getTransactionLogWriteQosLevel() |
int |
getTransactionProducerSequenceExpire() |
int |
getTransactionSyncTimeout() |
int |
getTransactionTimeout() |
public KafkaConfig(PropertySupplier propertySupplier)
public boolean getProduceDelayEnable()
public int getProduceDelay()
public int getProduceTimeout()
public boolean getMetadataDelayEnable()
public int getMetadataDelay()
public boolean getMetadataCacheEnable()
public int getMetadataCacheExpireTime()
public boolean getFuzzySearchEnable()
public boolean getFetchDelay()
public int getOffsetSyncTimeout()
public int getTransactionSyncTimeout()
public int getTransactionTimeout()
public int getTransactionLogRetries()
public int getTransactionLogInterval()
public int getTransactionProducerSequenceExpire()
public String getTransactionLogApp()
public int getTransactionLogScanSize()
public org.joyqueue.domain.QosLevel getTransactionLogWriteQosLevel()
public int getSessionMaxTimeout()
public int getSessionMinTimeout()
public int getRebalanceInitialDelay()
public int getRebalanceTimeout()
public boolean getLogDetail(String app)
protected <T> T getConfig(String key, PropertyDef.Type type, Object defaultValue)
protected <T> T getConfig(PropertyDef key)
Copyright © 2020 Joyqueue Community. All rights reserved.