Docs Menu
Docs Home
/
Relational Migrator
/ /

Advanced Kafka Settings

On this page

  • User Properties
  • Schema Registry Properties
  • Source Connector Properties
  • Sink Connector Properties

When you integrate Relational Migrator with Kafka, you can configure more advanced settings by updating your user.properties file. Your user.properties file is located in an OS specific location. For more information, see Relational Migrator File Locations.

Provide optional configuration settings by updating your user.properties file.

spring.profiles.active

Default: local

Relational Migrator can be run in the following profiles:

  • kafka: Remote server using embedded server deployment.

  • confluent: Remote server using Confluent Cloud for managed Kafka.

server.port

Default: 8278

The port the Relational Migrator application runs on.

migrator.kafka.bootstrap.servers

A list of host:port pairs of your pre-existing kafka cluster.

For example: kafka-1:9092, kafka-2:9093.

For more information, see Worker Configuration Properties.

migrator.kafka.connect.url

The Kafka Connect host url using the host:port format.

For example: https://localhost:8083.

migrator.kafka.connect.metrics.jmx.service.url
The Kafka Connect Java Management Extensions (JMX) url.
migrator.kafka.connect.metrics.jmx.ssl

Default: false

Set to true if SSL is enabled.

You can add additonal remote Java Management Extensions (JMX) for SSL configurations by prefixing them with migrator.kafka.connect.metrics.jmx.properties.

migrator.kafka.enable.topic.cleanup

Default: false

Cleans up the topics created during the last migration job.

migrator.connector.source.common.errors.max.retries

Default: 5

For the source connector, it specifies the maximum number of retries on a retriable failure. Relational Migrator attempts recovery from source database retriable failures up to a set limit before the job fails.

migrator.connector.source.common.errors.retry.initial.max.ms

Default: 30000 ms

For the source connector, it specifies the delay in milliseconds to start again after a retriable failure. The value is doubled after every retry but does not exceed migrator.connector.source.common.errors.retry.delay.max.ms.

migrator.connector.source.common.errors.retry.delay.max.ms

Default: 60000 ms

For the source connector, it specifies the maximum delay in milliseconds between retries after a retriable failure.

migrator.connector.sink.common.errors.max.retries

Default: 5

For the sink connector, it specifies the maximum number of retries on a retriable failure. Relational Migrator attempts recovery from source database retriable failures up to a set limit before the job fails.

migrator.connector.sink.common.errors.retry.initial.max.ms

Default: 30000 ms

For the sink connector, it specifies the delay in milliseconds to start again after a retriable failure. The value is doubled after every retry but does not exceed migrator.connector.sink.common.errors.retry.delay.max.ms.

migrator.connector.sink.common.errors.retry.delay.max.ms

Default: 60000 ms

For the sink connector, it specifies the maximum delay in milliseconds between retries after a retriable failure.

Use Relational Migrator with any schema registry by adding properties to the user.properties file with the prefix migrator.connector.properties.common.

migrator.connector.properties.common.key.converter

Default: migrator.connector.properties.common.key.converter

The convertor class for the message key.

migrator.connector.properties.common.value.converter

Default: org.apache.kafka.connect.json.JsonConverter

The convertor class for the message value.

migrator.connector.properties.common.key.converter.apicurio.registry.url

This specifies the URL of the Apicurio Registry for the key converter.

It uses the http://{host}:{port} or https://{host}:{port} format.

migrator.connector.properties.common.value.converter.apicurio.registry.url

This specifies the URL of the Apicurio Registry for the value converter.

It uses the http://{host}:{port} or https://{host}:{port} format.

Relational Migrator sets default Debezium source connector properties for each supported source database. The connector properties can be overridden by adding them in the user.properties file with the prefix migrator.connector.source.common. For example:

migrator.connector.source.common.errors.max.retries: 0

In this example, the default value is five but it has now been set to zero. This means there is no retries after a retriable failure.

Relational Migrator sets default Migrator sink connector properties for each supported source database. The connector properties can be overridden by adding them in the user.properties file with the prefix migrator.connector.sink.common. For example:

migrator.connector.sink.common.errors.max.retries: 0

In this example, the default value is five but it has now been set to zero. This means there are no retries.

Back

Use Confluent Cloud