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 (dse-sink-standalone.properties.sample). Use the sample file as a reference when configuring a standalone deployment.

Procedure

  1. Configure the connection and topic to table settings in the dse-sink.properties file:
  2. Start the DataStax Apache Kafka Connector with a standalone mode worker:
    bin/connect-standalone.sh worker.properties dse-sink.properties
    where
    • worker.properties is the Apache Kafka worker configuration file.
    • dse-sink.properties is the DataStax Connector configuration file.