Kafka Forwarder Integration Troubleshooting
Common Issues
Issue: Kafka Connection Fails
Symptoms: Integration is inactive, or connection errors appear in the logs.
Cause: Incorrect broker addresses, network connectivity issues, or firewall restrictions.
Solution:
Verify that the broker hostnames and ports are correct.
Test network connectivity by using telnet or nc.
Check that firewall rules allow traffic to Kafka ports.
Ensure that the Kafka brokers are running and accessible.
Issue: SASL Authentication Errors
Symptoms: Authentication-failed messages appear in the logs.
Cause: Incorrect credentials, an incorrect SASL mechanism, or JAAS configuration errors.
Solution:
Verify that the username and password are correct.
Ensure that the SASL mechanism matches the Kafka configuration.
Validate the JAAS configuration string syntax.
For Kerberos authentication, verify the service name and the krb5.conf configuration file.
Issue: SSL Certificate Errors
Symptoms: SSL handshake failures or certificate validation errors occur.
Cause: Incorrect certificate paths, expired certificates, or truststore configuration issues.
Solution:
Verify that the truststore and keystore file paths exist.
Check that the certificates have not expired.
Ensure that the truststore contains the correct CA certificates.
Validate that the keystore contains the appropriate private key.
Issue: Messages Do Not Arrive in Kafka
Symptoms: No errors appear in the logs, but messages do not reach Kafka topics.
Cause: Missing topics, incorrect topic names, or insufficient permissions.
Solution:
Verify that the topics exist in the Kafka cluster.
Ensure that the topic names match exactly, including letter case.
Confirm that Moogsoft Onprem has permission to write to the topics.
Check the topic partition and replication configuration.
Issue: Transformation Rules Do Not Work
Symptoms: Empty payloads, missing fields, or incorrect data appears in Kafka.
Cause: Incorrect macro syntax, missing fields, or rule configuration errors.
Solution:
Verify that the macro syntax uses the correct field names.
Ensure that the field names exist in the source data.
Test the transformation rules with sample data.
Review the filter expressions for correct syntax.
Error Messages
Error Message | Cause | Resolution |
|---|---|---|
Unable to load KafkaForwarder configuration from integration | Integration is not configured correctly or is missing. | Verify that the integration is installed and configured correctly. |
Unable to parse KafkaForwarder integration config | Invalid JSON or configuration format. | Check the integration configuration syntax. |
Failed to find the requested Kafka connection | The connection name does not exist or is misspelled. | Verify that the connection name matches a configured connection. |
Expected to see a list of servers in the connection config | Missing or invalid server configuration. | Ensure that Kafka broker servers are configured correctly. |
Missing required SSL config items | Incomplete SSL configuration. | Complete all required SSL configuration fields. |
For GSSAPI, a Kerberos service name is required | Kerberos service name is not configured. | Add a Kerberos service name in the SASL configuration. |
For GSSAPI, a Kerberos configuration file path is required | Kerberos configuration file path is missing. | Specify the path to the krb5.conf file. |
Unable to retrieve the sig for | The Situation ID was not found in the database. | Verify that the Situation ID exists and is accessible. |
Unable to retrieve the alert for | The alert ID was not found in the database. | Verify that the alert ID exists and is accessible. |
Empty Inform payload with no | The workflow action is missing required parameters. | Ensure that the workflow includes |
Failed to send payload to topic | Kafka connection or topic configuration issues. | Check Kafka connectivity and topic permissions. |
Failed to create a new Kafka connection | Invalid connection parameters or network connectivity issues. | Verify the connection configuration and network connectivity. |
Log Locations
Workflow Engine Logs:
$MOOGSOFT_HOME/log/moog_farmd.log