Installing the Salesforce PubSub API Source Connector

Obtaining the connector library

The Salesforce PubSub API Source Connector is currently hosted in a private repository. To install the connector, you must request the library from the {axual-support-url} team .

Installing the connector

Once you have obtained the connector library, follow these steps to deploy it:

  1. Determine all machines in the Kafka Connect cluster.

  2. Follow these steps for each machine found:

    1. Determine the plugins directory used by Kafka Connect.

    2. Create a subdirectory *salesforce-pubsub* in the *plugins* directory.

    3. Copy the JAR library to the newly created *salesforce-pubsub* directory.

    4. Restart Kafka Connect.

    5. Verify that the SalesforcePubSubSourceConnector is shown by querying the connector-plugins endpoint of the REST API of Kafka Connect on the machine.

      # curl command piped through the JQ tool to format the JSON output
      curl -s -X GET http://localhost:8083/connector-plugins | jq -S '.[]'
      The URL used depends on the configuration of your Kafka Connect installation. Additional curl options might be required if basic authentication or TLS is used.