Kafka SSL Integration Guide
Review the following guide for setting up an integration between Manufacturing Connect Edge and a Kafka broker using SSL authentication.
You will need the following:
- Access to a Kafka broker that uses SSL authentication.
- The CA certificate and other required authentication parameters needed to access the broker.
Refer to the following links to learn more:
Follow the steps to Add a Connector and select the Kafka SSL provider.
Configure the following parameters.
- Name: Enter a name for the connector.
- Brokers list separated by comma: Enter the Kafka broker URL. For example: 192.168.56.1.
- SASL mechanism: Select an option: NONE, SASL_PLAINTEXT, SCRAM-SHA-256, SCRAM-SHA-512.
- Username (Optional): If needed, enter the username to access the broker.
- Password: (Optional): If needed, enter the password associated with the username.
- CA Certificate: Paste or upload the CA certificate associated with the broker.
- Certificate: Paste or upload the SSL certificate.
- Private key: Enter or paste the SSL private key.
- Topic: Enter the name of the default topic used for publishing data.
- Throttling Limit: The maximum number of messages per second to be processed. The default value is zero, which means that there is no limit.
- Persistent storage: When enabled, this will cause messages to undergo a store-and-forward procedure. Messages will be stored within Manufacturing Connect Edge when cloud providers are online.
- Queue Mode: Select the queue mode as lifo (last in first out) or fifo (first in first out). Selecting lifo means that the last data entry is processed first, and selecting fifo means the first data entry is processed first.
After adding the connector, click the toggle in the connector tile to enable it.
If you see a Failed status, you can review the Connector Logs and relevant error messages.
You will now need to import the tag you added in Step 3 to the connector as topics.
Topics must already exist on the Kafka server to avoid errors. Using non-existent Kafka topics will result in errors in logs, failed connection and/or persisted storage.
After adding all required topics, navigate to the Integration overview page and ensure the connector is not disabled and still shows a CONNECTED status.
Access the Kafka broker and verify that Manufacturing Connect Edge is successfully sending data.