For the complete documentation index, see llms.txt. This page is also available as Markdown.

Startup validation

Diagnose connection problems at startup.

This feature is disabled by default. Set the corresponding features toggle to enabled in your pipeline file for the behavior described on this page to take effect.

Misconfigured bootstrap servers or credentials often surface as runtime errors deep into a replication run. Because connectivity to the source Kafka cluster and the target Kafka cluster is a prerequisite for everything else, therefore it is better to probe both at startup and fail fast when either is unreachable.

Enable features.checkKafkaConnectionOnStartup when validating a new deployment or after changing network or security settings. Other validation features — such as features.validateControlTopicSettings and features.filterNonUpdatableTopicProperties — can also fail at startup. On some managed Kafka offerings, these features can report false positives: vendor brokers may restrict admin APIs, hide internal topics, or expose topic configuration differently from open-source Apache Kafka. If connectivity and replication work outside those checks, disable the specific feature toggle rather than changing settings the vendor manages. For connection configuration, see Kafka connectivity and authentication. For topic creation toggles, see Topic creation. For errors after replication has started, see Troubleshooting and Pipeline tuning.

See also the Validation checklist for a pre-deployment workflow.

Prerequisites

Example

name: "my_pipeline"
features:
  checkKafkaConnectionOnStartup: enabled
source:
  kafka:
    common:
      "bootstrap.servers": "source:9092"
    consumer:
      "group.id": "my-k2k-group"
target:
  kafka:
    common:
      "bootstrap.servers": "target:9092"
replication:
  - source:
      topic: "orders.*"
  - sink:
      topic: source
      partition: source

Configuration keys

Key
Description
Required
Default
Used by

features.checkKafkaConnectionOnStartup

Probe Kafka connectivity before starting replication

No

disabled

Replicator

features.validateControlTopicSettings

Validate control topic configuration on startup

No

enabled

Replicator

features.filterNonUpdatableTopicProperties

Probe which topic properties the target Kafka cluster accepts when auto creating topics

No

enabled

Replicator

Last updated

Was this helpful?