camel-cassandra-source-kafka-connector source configuration

Connector Description: Query a Cassandra cluster table.

When using camel-cassandra-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-cassandra-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.cassandrasource.CamelCassandrasourceSourceConnector

The camel-cassandra-source source connector supports 8 options, which are listed below.

Name Description Default Priority

camel.kamelet.cassandra-source.host

Required Hostname(s) cassandra server(s). Multiple hosts can be separated by comma. Example: localhost.

HIGH

camel.kamelet.cassandra-source.port

Required Port number of cassandra server(s) Example: 9042.

HIGH

camel.kamelet.cassandra-source.keyspace

Required Keyspace to use Example: customers.

HIGH

camel.kamelet.cassandra-source.username

Required The username to use for accessing a secured Cassandra Cluster.

HIGH

camel.kamelet.cassandra-source.password

Required The password to use for accessing a secured Cassandra Cluster.

HIGH

camel.kamelet.cassandra-source.resultStrategy

The strategy to convert the result set of the query. Possible values are ALL, ONE, LIMIT_10, LIMIT_100…​

"ALL"

MEDIUM

camel.kamelet.cassandra-source.consistencyLevel

Consistency level to use. The value can be one of ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM, EACH_QUORUM, SERIAL, LOCAL_SERIAL, LOCAL_ONE.

"ANY"

MEDIUM

camel.kamelet.cassandra-source.query

Required The query to execute against the Cassandra cluster table.

HIGH

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

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

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