-
Notifications
You must be signed in to change notification settings - Fork 52
Configuration
VictorZeng edited this page May 13, 2016
·
8 revisions
###PoolConfig###
The PoolConfig
is extends GenericObjectPoolConfig
, more configs please see the Apidoc.
####HbaseConfig###
The HbaseConfig
is Hbase properties helper as follow, other configs please see the Hbase doc.
public static final String ZOOKEEPER_QUORUM_PROPERTY = "hbase.zookeeper.quorum";
public static final String ZOOKEEPER_CLIENTPORT_PROPERTY = "hbase.zookeeper.property.clientPort";
public static final String MASTER_PROPERTY = "hbase.master";
public static final String ROOTDIR_PROPERTY = "hbase.rootdir";
####KafkaConfig###
The KafkaConfig
is Kafka properties helper as follow, other configs please see the Kafka doc.
public static final String BROKERS_LIST_PROPERTY = "metadata.broker.list";
public static final String PRODUCER_TYPE_PROPERTY = "producer.type";
public static final String REQUEST_ACKS_PROPERTY = "request.required.acks";
public static final String COMPRESSION_CODEC_PROPERTY = "compression.codec";
public static final String BATCH_NUMBER_PROPERTY = "batch.num.messages";
####RedisConfig###
The RedisConfig
is Redis properties helper as follow.
public static final String ADDRESS_PROPERTY = "address";
public static final String CONN_TIMEOUT_PROPERTY = "connectionTimeout";
public static final String SO_TIMEOUT_PROPERTY = "soTimeout";
public static final String DATABASE_PROPERTY = "database";
public static final String PASSWORD_PROPERTY = "password";
public static final String CLIENTNAME_PROPERTY = "clientName";
####JdbcConfig###
The JdbcConfig
is Jdbc properties helper as follow.
public static final String DRIVER_CLASS_PROPERTY = "driverClass";
public static final String JDBC_URL_PROPERTY = "jdbcUrl";
public static final String JDBC_USERNAME_PROPERTY = "username";
public static final String JDBC_PASSWORD_PROPERTY = "password";
####SocketConfig###
The SocketConfig
is Socket properties helper as follow.
public static final String ADDRESS_PROPERTY = "address";
public static final String RECE_BUFFERSIZE_PROPERTY = "receiveBufferSize";
public static final String SEND_BUFFERSIZE_PROPERTY = "sendBufferSize";
public static final String CONN_TIMEOUT_PROPERTY = "connectionTimeout";
public static final String SO_TIMEOUT_PROPERTY = "soTimeout";
public static final String LINGER_PROPERTY = "linger";
public static final String KEEPALIVE_PROPERTY = "keepAlive";
public static final String TCPNODELAY_PROPERTY = "tcpNoDelay";
public static final String PERFORMANCE_PROPERTY = "performance";