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

Download and install the DataStax Apache Kafka Connector.

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
    • worker.properties is the Apache Kafka worker configuration file.
    • dse-sink.properties is the DataStax Connector configuration file.