Delete the DataStax Apache Pulsar™ connector

To completely remove the DataStax Apache Pulsar™ connector, do the following:

  1. Delete any sinks associated with the connector:

    bin/pulsar-admin sinks delete --name SINK_NAME --namespace SINK_NAMESPACE --tenant SINK_TENANT

    Replace the following:

    • SINK_NAME: The name of the Pulsar sink to delete

    • SINK_NAMESPACE: The name of the Pulsar namespace associated with the sink

    • SINK_TENANT: The name of the Pulsar tenant associated with the sink

    For example, to delete a sink named cass-sink-kv in the default namespace and public tenant, run bin/pulsar-admin sinks delete --name cass-sink-kv --namespace default --tenant public.

  2. Stop the Pulsar service:

    bin/pulsar-daemon stop standalone

    Wait until shutdown is complete before proceeding:

    doing stop standalone ...
    stopping standalone
    Shutdown is in progress... Please wait...
    Shutdown is in progress... Please wait...
    Shutdown completed.
  3. Remove the DataStax Pulsar connector NAR from your Pulsar connectors directory:

    rm connectors/cassandra-enhanced-pulsar-sink-1.4.0.nar
  4. Optional: Remove the connector configuration YAML file from your Pulsar config directory.

  5. Restart the Pulsar service:

    bin/pulsar-daemon start standalone

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM