Delete the DataStax Apache Pulsar™ connector
To completely remove the DataStax Apache Pulsar™ connector, do the following:
-
Delete any sinks associated with the connector:
bin/pulsar-admin sinks delete --name SINK_NAME --namespace SINK_NAMESPACE --tenant SINK_TENANTReplace 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-kvin the default namespace and public tenant, runbin/pulsar-admin sinks delete --name cass-sink-kv --namespace default --tenant public. -
-
Stop the Pulsar service:
bin/pulsar-daemon stop standaloneWait 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. -
Remove the DataStax Pulsar connector NAR from your Pulsar
connectorsdirectory:rm connectors/cassandra-enhanced-pulsar-sink-1.4.0.nar -
Optional: Remove the connector configuration YAML file from your Pulsar
configdirectory. -
Restart the Pulsar service:
bin/pulsar-daemon start standalone