com.taosdata.jdbc.tmq

## 类 TMQConstants

- java.lang.Object
- - com.taosdata.jdbc.tmq.TMQConstants

    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_MESSAGE_TIMEOUT` message receive from server timeout. ms.
`static String` `CONNECT_PASS` connection password
`static String` `CONNECT_PORT` connection port
`static String` `CONNECT_TIMEOUT` the timeout in milliseconds until a connection is established.
`static String` `CONNECT_TOKEN` Key used to retrieve the token value from the properties instance passed to the driver.
`static String` `CONNECT_TYPE` connect type websocket or jni, default is jni
`static String` `CONNECT_URL` Key used to retrieve the token value from the properties instance passed to the driver.
`static String` `CONNECT_USE_SSL` Use SSL (true/false) to communicate with the server.
`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 String` `VALUE_DESERIALIZER` deserializer Bean
`static String` `VALUE_DESERIALIZER_ENCODING` encode for deserializer String value

### 构造器概要

构造器
构造器和说明
`TMQConstants()`

### 方法概要

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 字段详细资料

#### configSet

    public static final Set<String> configSet

#### GROUP_ID

    public static final String GROUP_ID

另请参阅:
  常量字段值

#### CLIENT_ID

    public static final String CLIENT_ID

另请参阅:
  常量字段值

#### ENABLE_AUTO_COMMIT

    public static final String ENABLE_AUTO_COMMIT

auto commit default is true then the commitCallback function will be called after 5 seconds

另请参阅:
  常量字段值

#### AUTO_COMMIT_INTERVAL

    public static final String AUTO_COMMIT_INTERVAL

commit interval. unit milliseconds

另请参阅:
  常量字段值

#### AUTO_OFFSET_RESET

    public static final String AUTO_OFFSET_RESET

only valid in first group id create.

另请参阅:
  常量字段值

#### MSG_WITH_TABLE_NAME

    public static final String MSG_WITH_TABLE_NAME

whether poll result include table name. suggest always true

另请参阅:
  常量字段值

#### BOOTSTRAP_SERVERS

    public static final String BOOTSTRAP_SERVERS

indicate host and port of connection

另请参阅:
  常量字段值

#### VALUE_DESERIALIZER

    public static final String VALUE_DESERIALIZER

deserializer Bean

另请参阅:
  常量字段值

#### VALUE_DESERIALIZER_ENCODING

    public static final String VALUE_DESERIALIZER_ENCODING

encode for deserializer String value

另请参阅:
  常量字段值

#### CONNECT_IP

    public static final String CONNECT_IP

connection ip

另请参阅:
  常量字段值

#### CONNECT_PORT

    public static final String CONNECT_PORT

connection port

另请参阅:
  常量字段值

#### CONNECT_USER

    public static final String CONNECT_USER

connection username

另请参阅:
  常量字段值

#### CONNECT_PASS

    public static final String CONNECT_PASS

connection password

另请参阅:
  常量字段值

#### CONNECT_DB

    public static final String CONNECT_DB

databaseName option

另请参阅:
  常量字段值

#### CONNECT_TYPE

    public static final String CONNECT_TYPE

connect type websocket or jni, default is jni

另请参阅:
  常量字段值

#### CONNECT_TOKEN

    public static final String CONNECT_TOKEN

Key used to retrieve the token value from the properties instance passed to the driver. Just for Cloud Service

另请参阅:
  常量字段值

#### CONNECT_URL

    public static final String CONNECT_URL

Key used to retrieve the token value from the properties instance passed to the driver. Just for Cloud Service

另请参阅:
  常量字段值

#### CONNECT_USE_SSL

    public static final String CONNECT_USE_SSL

Use SSL (true/false) to communicate with the server. The default value is false. Just for Cloud Service

另请参阅:
  常量字段值

#### CONNECT_TIMEOUT

    public static final String CONNECT_TIMEOUT

the timeout in milliseconds until a connection is established. zero is interpreted as an infinite timeout. only valid in websocket

另请参阅:
  常量字段值

#### CONNECT_MESSAGE_TIMEOUT

    public static final String CONNECT_MESSAGE_TIMEOUT

message receive from server timeout. ms. only valid in websocket

另请参阅:
  常量字段值

### 构造器详细资料

#### TMQConstants

    public TMQConstants()