Deploying the DataStax Connector in standalone mode
Run an instance of the DataStax Apache Kafka™ Connector on a worker in standalone mode.
DataStax recommends using standalone mode only for development and test environments. Standalone mode runs a single (standalone) instance of the DataStax Apache Kafka™ Connector on a Apache Kafka Connect worker.
The DataStax Connector download package includes a thoroughly commented sample Java properties file (cassandra-sink-standalone.properties.sample). Use the sample file as a reference when configuring a standalone deployment.
Prerequisites
Procedure
- Configure the connection and topic to table settings in the dse-sink.properties file:
-
Start the DataStax Apache Kafka Connector with a standalone mode worker:
bin/connect-standalone.sh worker.properties dse-sink.properties
- worker.properties is the Apache Kafka worker configuration file.
- dse-sink.properties is the DataStax Connector configuration file.