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 |
getLogDetail(String app) |
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 boolean getLogDetail(String app)
public int getProduceTimeout()
public boolean getMetadataDelayEnable()
public int getMetadataDelay()
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()
protected <T> T getConfig(String key, PropertyDef.Type type, Object defaultValue)
protected <T> T getConfig(PropertyDef key)
Copyright © 2020 Joyqueue Community. All rights reserved.