-
Notifications
You must be signed in to change notification settings - Fork 52
Configuration
业余布道师 edited this page Jun 29, 2018
·
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.
String ZOOKEEPER_QUORUM_PROPERTY = "hbase.zookeeper.quorum";
String ZOOKEEPER_CLIENTPORT_PROPERTY = "hbase.zookeeper.property.clientPort";
String MASTER_PROPERTY = "hbase.master";
String ROOTDIR_PROPERTY = "hbase.rootdir";
The KafkaConfig
is Kafka properties helper as follow, other configs please see the Kafka doc.
String BROKERS_LIST_PROPERTY = "metadata.broker.list";
String PRODUCER_TYPE_PROPERTY = "producer.type";
String REQUEST_ACKS_PROPERTY = "request.required.acks";
String COMPRESSION_CODEC_PROPERTY = "compression.codec";
String BATCH_NUMBER_PROPERTY = "batch.num.messages";
The RedisConfig
is Redis properties helper as follow.
String ADDRESS_PROPERTY = "address";
String CONN_TIMEOUT_PROPERTY = "connectionTimeout";
String SO_TIMEOUT_PROPERTY = "soTimeout";
String DATABASE_PROPERTY = "database";
String PASSWORD_PROPERTY = "password";
String CLIENTNAME_PROPERTY = "clientName";
The JdbcConfig
is Jdbc properties helper as follow.
String DRIVER_CLASS_PROPERTY = "driverClass";
String JDBC_URL_PROPERTY = "jdbcUrl";
String JDBC_USERNAME_PROPERTY = "username";
String JDBC_PASSWORD_PROPERTY = "password";
The SocketConfig
is Socket properties helper as follow.
String ADDRESS_PROPERTY = "address";
String RECE_BUFFERSIZE_PROPERTY = "receiveBufferSize";
String SEND_BUFFERSIZE_PROPERTY = "sendBufferSize";
String CONN_TIMEOUT_PROPERTY = "connectionTimeout";
String SO_TIMEOUT_PROPERTY = "soTimeout";
String LINGER_PROPERTY = "linger";
String KEEPALIVE_PROPERTY = "keepAlive";
String TCPNODELAY_PROPERTY = "tcpNoDelay";
String PERFORMANCE_PROPERTY = "performance";