Coordinator

2023-06-29 11:11:39  Updated

The configuration path of the Coordinator is conf/coordinator.json.

[JVM] connectorJvmParam

  • Description: specifies JVM parameters.

  • Default value: None.

  • Valid values: JVM parameters.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] maxRecordCapacity

  • Description: specifies the size of the dispatcher queue.

  • Default value: 16384.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] bridgeQueueSize

  • Description: specifies the length of the intermediate queue.

  • Default value: 256.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] shuffleMinBatchSize

  • Description: specifies the minimum batch size. It is used together with ShuffleRecordDispatcher.

  • Default value: 20.

  • Value type: int. The value must be smaller than that of shuffleMaxBatchSize.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] shuffleMaxBatchSize

  • Description: specifies the maximum batch size. It is used together with ShuffleRecordDispatcher.

  • Default value: 64.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] shuffleFlushIntervalMs

  • Description: specifies the maximum time to wait before sending a batch. It is used together with ShuffleRecordDispatcher.

  • Default value: 100 ms.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] shuffleBucketMaxInFlightBatchSize

  • Description: specifies the number of messages without an ACK in the same bucket. It is used together with ShuffleRecordDispatcher.

  • Default value: 1 for incremental synchronization and -1 for full migration. The value -1 indicates no limit.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Batch distribution] shuffleBucketSize

  • Description: specifies the bucket size, which indicates the number of concurrent buckets. It is used together with ShuffleRecordDispatcher.

  • Default value: None. This parameter is required.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Transaction writing] useTxId

  • Description: specifies whether to use transaction IDs.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[Transaction writing] antiLoopMode

  • Description: specifies whether to enable the anti-loop mode for the transaction table.

  • Default value: false.

  • Valid values: true and false.

  • Supported version: OMS V3.3.1 and later.

[Tables without a primary key] obHiddenPrimaryKeySyncDestColumn

  • Description: specifies the name of a column into which a hidden column in OceanBase Database is converted.

  • Default value: OMS_PK_INCRMT.

  • Value type: String.

  • Supported version: OMS V3.3.1 and later.

[Tables without a primary key] rowidExtendedColumns

  • Description: specifies the names of the four columns into which the Oracle ROWID column is converted.

  • Default value: OMS_OBJECT_NUMBER,OMS_RELATIVE_FNO,OMS_BLOCK_NUMBER,OMS_ROW_NUMBER.

  • Value type: String.

  • Supported version: OMS V3.3.1 and later.

[Tables without a primary key] noPkOrUkAllowed

  • Description: specifies whether to support synchronization without a PRIMARY KEY (PK), NOT NULL, or Unique Key (UK) constraint. It is the main control parameter.

  • Default value: true. Specify the value based on the types of the source and destination.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[HTTP API] listenPort

  • Description: specifies the HTTP open port.

  • Default value: 0, indicating a random port.

  • Value range: A port number greater than 30000 is recommended to avoid conflicts.

  • Supported version: OMS V3.3.1 and later.

[DDL] skipDdl

  • Description: specifies the skipped DDL statements.

  • Default value: None.

  • Valid values: JSON array.

  • Supported version: OMS V3.3.1 and later.

[DDL] filterComment

  • Description: specifies whether to filter comments in DDL statements.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[DDL] shuffleDdlToAllRoute

  • Description: specifies whether to synchronize DDL statements to all queues when shuffleRecordDispatcher is specified.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.4.0 and later.

[DDL] charsetMapping

  • Description: specifies the DDL character set mapping.

  • Default value: Null.

  • Supported version: OMS V3.3.1 and later.

[DDL] collationMapping

  • Description: specifies the DDL collation mapping.

  • Default value: Null.

  • Supported version: OMS V3.3.1 and later.

[Error handling] runIgnoreError

  • Description: specifies whether to exit when table synchronization fails due to an exception.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.4.0 and later.

[Filtering] allowRecordTypes

  • Description: specifies the message type for link-level filtering.

  • Default value: By default, messages are not filtered.

  • Valid values: ROW, DELETE, UPDATE, INSERT, HEARTBEAT, and REPLACE. The value is a comma-delimited string.

  • Supported version: OMS V3.3.1 and later.

[Specific scenarios] intervalTypeFmt

  • Description: specifies the format of the interval type.

  • Default value: None. The format of the interval type is obtained by querying the database.

  • Supported version: OMS V3.3.1 and later.

[Specific scenarios] timestamptzConvert

  • Description: specifies whether to convert the Asia/Shanghai time zone to GMT+8:00.

  • Default value: true if the source is an Oracle tenant of OceanBase Database or an Oracle database, and false if otherwise.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[Case sensitivity] caseStrategy

  • Description: specifies the case-sensitivity strategy.

  • Default value: FOLLOW_SOURCE, which specifies to follow the case in the source database.

  • Valid values: DEFAULT, FOLLOW_SOURCE, UPPER, and LOWER.

  • Supported version: OMS V3.3.1 and later.

[Case sensitivity] isCaseSensitive

  • Description: specifies whether to enable case sensitivity.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[Hotkey merge] hotKeyMerge

  • Description: specifies whether to enable hotkey merge.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[Hotkey merge] hotKeyTable

  • Description: specifies to initialize the hotkey table.

  • Default value: None.

  • Valid values: JSON array.

    Example: [{"schema":"db1","table":"table1"},{"schema":"db1","table":"table1"}].

  • Supported version: OMS V3.3.1 and later.

[Hotkey merge] mergeDelayThreshold

  • Description: specifies the number of accumulated keys for determining a hotkey.

  • Default value: 120.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Statistics] enableDmlDdlTypeStatistics

  • Description: specifies whether to enable DDL/DML statistics collection.

  • Default value: false.

  • Value type: Boolean.

  • Supported version: OMS V3.3.1 and later.

[Statistics] reportIntervalSec

  • Description: specifies the interval for generating checkpoints, heartbeat packets, or diagnose files.

  • Default value: 5.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Special scenarios] systemDefaultTimezone

  • Description: specifies the time zone for reading the time.

  • Default value: the system time zone.

  • Valid values: time zones.

  • Supported version: OMS V3.3.1 and later.

[Specific scenarios] db2Mode

  • Description: specifies the mode of the DB2 LUW database.

  • Default value: normal.

  • Valid values: oracle and normal.

  • Supported version: OMS V3.3.1 and later.

[Specific scenarios] mysqlVersion

  • Description: specifies the version of the source MySQL database.

  • Default value: None.

  • Valid values: MySQL database versions.

  • Supported version: OMS V3.3.1 and later.

[Throttling] throttleRps

  • Description: specifies whether to limit the RPS.

  • Default value: -1, which specifies not to limit the RPS.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Throttling] throttleIOPS

  • Description: specifies whether to limit the IOPS, in bytes.

  • Default value: -1, which specifies not to limit the IOPS.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Throttling] throttleRecordBound

  • Description: specifies the number of records within the framework.

  • Default value: -1, which specifies not to limit the number of records.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

[Throttling] throttleMemoryBound

  • Description: specifies whether to limit the memory, in bytes.

  • Default value: -1, which specifies not to limit the memory.

  • Value type: int.

  • Supported version: OMS V3.3.1 and later.

Contact Us