-
Notifications
You must be signed in to change notification settings - Fork 52
Configuration
业余布道师 edited this page Mar 23, 2017
·
8 revisions
The PoolConfig
is extends GenericObjectPoolConfig
, more configs please see the Apidoc.
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";
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";
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";
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";
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";