public class TMQConstants extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
AUTO_COMMIT_INTERVAL
commit interval. unit milliseconds
|
static String |
AUTO_OFFSET_RESET
only valid in first group id create.
|
static String |
BOOTSTRAP_SERVERS
indicate host and port of connection
|
static String |
CLIENT_ID |
static Set<String> |
configSet |
static String |
CONNECT_DB
databaseName option
|
static String |
CONNECT_IP
connection ip
|
static String |
CONNECT_PASS
connection password
|
static String |
CONNECT_PORT
connection port
|
static String |
CONNECT_USER
connection username
|
static String |
ENABLE_AUTO_COMMIT
auto commit default is true then the commitCallback function will be called after 5 seconds
|
static String |
GROUP_ID |
static String |
MSG_WITH_TABLE_NAME
whether poll result include table name. suggest always true
|
static int |
TMQ_CONF_ERROR |
static int |
TMQ_CONF_KEY_NULL |
static int |
TMQ_CONF_NULL |
static int |
TMQ_CONF_VALUE_NULL |
static int |
TMQ_CONSUMER_CREATE_ERROR |
static int |
TMQ_CONSUMER_NULL |
static int |
TMQ_SUCCESS |
static int |
TMQ_TOPIC_NAME_NULL |
static int |
TMQ_TOPIC_NULL |
static int |
TMQ_UNKNOWN_ERROR |
static String |
VALUE_DESERIALIZER
deserializer Bean
|
static String |
VALUE_DESERIALIZER_ENCODING
encode for deserializer String value
|
| 构造器和说明 |
|---|
TMQConstants() |
public static final String ENABLE_AUTO_COMMIT
public static final String AUTO_COMMIT_INTERVAL
public static final String AUTO_OFFSET_RESET
public static final String MSG_WITH_TABLE_NAME
public static final String BOOTSTRAP_SERVERS
public static final String VALUE_DESERIALIZER_ENCODING
public static final int TMQ_SUCCESS
public static final int TMQ_CONF_NULL
public static final int TMQ_CONF_KEY_NULL
public static final int TMQ_CONF_VALUE_NULL
public static final int TMQ_CONF_ERROR
public static final int TMQ_TOPIC_NULL
public static final int TMQ_TOPIC_NAME_NULL
public static final int TMQ_CONSUMER_NULL
public static final int TMQ_CONSUMER_CREATE_ERROR
public static final int TMQ_UNKNOWN_ERROR
Copyright © 2022. All rights reserved.