Skip to content

Troubleshooting

This page points you to the right section when something does not work. Find the symptom, read the linked section, and check the Kafka Connect worker log if the section does not solve it. To also log critical exceptions to a topic, see Logging exceptions.

Installation

Symptom Where to look
The connector does not appear in the list of connector plugins Restart the Kafka Connect workers after the installation, see Installation
The connector cannot be downloaded automatically in a Docker build or CI/CD script The firewall must allow downloads from Confluent Hub, see Downloading the connector
Confluent Cloud does not accept the custom connector, or the connector class is unknown Use the plugin names and connector classes from Confluent Cloud custom connector
The EnvVarConfigProvider class is not found It requires kafka-clients 3.5.0 or later, see Using environment variables for secrets

IBM i connection, license and truststore

Symptom Where to look
The connector cannot reach the IBM i The Kafka Connect workers must reach the IBM i ports and the host servers must run, see Prerequisites: IBM i
A license error appears Check as400.license.protocol and the parameters of the protocol, see License management. To get or renew a license, contact us
The TLS connection fails Check the truststore settings in Truststore management and the certificate setup in IBM i TLS connection configuration
The license or truststore in a topic is not found The record keys must be license and truststore, see Storing the license and truststore in a topic
Connections are dropped by a firewall Keep as400.keep.alive enabled and check the timeouts in Connection (Optional)

Source connector

Symptom Where to look
Schema registration fails after a format file change Set the schema compatibility to NONE, see Schema Registry
Field values are not parsed into named fields Check the format file name and library, see Source configuration properties
Numeric values overflow Set as400.source.field.overflow to MAP, see Source configuration properties
Date, time or timestamp values have the wrong format Check the format patterns and as400.logical.conversion.enabled, see Date, time, and timestamp patterns
Nothing is read from a keyed data queue Set the key and the key search type, see Reading from a keyed data queue
Messages from several tables arrive in one topic Enable multi-topic routing, see Routing messages to multiple topics
Delete events must remove records in compacted topics Use the DeleteByEventType transform, see Single message transforms
InfoCDC entries stay in ACK_PENDING Configure the acknowledgement, see Source acknowledgement

Sink connectors

Symptom Where to look
A program call error stops the connector Set fail.fast.on.program.call.exception to false and configure a dead letter queue, see Error handling and recovery
A value does not arrive in the program parameter The message field names must match the sourceFieldName values, see Defining the program parameters
A service program procedure is not called Set as400.procedure.name, see Calling programs and service programs
Data queue entries are truncated Check as400.dq.entry.length, see Data queue sink properties
Records that cannot be processed are lost Configure a dead letter queue, see the data queue sink samples

Getting help

Contact us with the connector version, the connector configuration without secrets, and the relevant part of the Kafka Connect worker log.