camel-kafka-ssl-source-kafka-connector source configuration

Connector Description: Receive data from Kafka topics with SSL/TLS support

When using camel-kafka-ssl-source-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-kafka-ssl-source-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this source connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.kafkasslsource.CamelKafkasslsourceSourceConnector

The camel-kafka-ssl-source source connector supports 16 options, which are listed below.

Name Description Default Priority

camel.kamelet.kafka-ssl-source.topic

Required Comma separated list of Kafka topic names.

HIGH

camel.kamelet.kafka-ssl-source.bootstrapServers

Required Comma separated list of Kafka Broker URLs.

HIGH

camel.kamelet.kafka-ssl-source.securityProtocol

Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported.

"SSL"

MEDIUM

camel.kamelet.kafka-ssl-source.saslMechanism

The Simple Authentication and Security Layer (SASL) Mechanism used.

"GSSAPI"

MEDIUM

camel.kamelet.kafka-ssl-source.autoCommitEnable

If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer.

true

MEDIUM

camel.kamelet.kafka-ssl-source.allowManualCommit

Whether to allow doing manual commits.

false

MEDIUM

camel.kamelet.kafka-ssl-source.pollOnError

What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP.

"ERROR_HANDLER"

MEDIUM

camel.kamelet.kafka-ssl-source.autoOffsetReset

What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none.

"latest"

MEDIUM

camel.kamelet.kafka-ssl-source.consumerGroup

A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id.

MEDIUM

camel.kamelet.kafka-ssl-source.deserializeHeaders

When enabled the Kamelet source will deserialize all message headers to String representation.

false

MEDIUM

camel.kamelet.kafka-ssl-source.sslKeyPassword

Required The password of the private key in the key store file.

HIGH

camel.kamelet.kafka-ssl-source.sslKeystorePassword

Required The store password for the key store file.This is optional for client and only needed if ssl.keystore.location is configured.

HIGH

camel.kamelet.kafka-ssl-source.sslProtocol

The SSL protocol used to generate the SSLContext. Default setting is TLS, which is fine for most cases. Allowed values in recent JVMs are TLS, TLSv1.1 and TLSv1.2. SSL, SSLv2 and SSLv3 may be supported in older JVMs, but their usage is discouraged due to known security vulnerabilities.

"TLSv1.2"

MEDIUM

camel.kamelet.kafka-ssl-source.sslKeystoreLocation

Required The location of the key store file. This is optional for client and can be used for two-way authentication for client.

HIGH

camel.kamelet.kafka-ssl-source.sslTruststoreLocation

Required The location of the trust store file.

HIGH

camel.kamelet.kafka-ssl-source.sslEnabledProtocols

The list of protocols enabled for SSL connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default.

"TLSv1.2,TLSv1.1,TLSv1"

MEDIUM

The camel-kafka-ssl-source source connector has no converters out of the box.

The camel-kafka-ssl-source source connector has no transforms out of the box.

The camel-kafka-ssl-source source connector has no aggregation strategies out of the box.