Troubleshooting the Kafka processors

If you encounter any issues while using a Kafka processor to export or synchronize your MDM data, you can review the logs to determine the cause and then take steps to resolve the issue.

Reviewing Kafka Stream logs

All of the logs generated by Kafka Stream processing are stored in the folder <MDM_INSTALL_HOME>/KafkaProcessor/logs

By default, logging is set to the INFO level.

Tip: To change the logging level to DEBUG so that more details are captured in the logs:
  1. Go to the properties subfolder in the location where the Kafka processor is installed.
    cd <MDM_INSTALL_HOME>/KafkaProcessor/properties
  2. Edit the file Log4j.properties.
  3. Update the log4j.rootLogger property to change the value to DEBUG. Other valid values are INFO and ERROR.
    log4j.rootLogger=DEBUG, file, stdout

Troubleshooting common errors

The following property is not in the properties file. Property = <propertyname>
Check the properties files to ensure that the given property is present.
Error in Topology <fileName>, one of the following parameters is missing <propertyName>
Open the configuration file to check the value, format, and sequence of all the properties.
Topic name not defined for Key <topicNamekey>
Open the properties file and ensure that a valid value has been set for the key <topicNamekey>.
Invalid applicationID: <applicationName>
Open the configuration file and ensure that a valid value has been set for the application ID name.
The following property is either Null or Empty. Property = <propertyName>
Open the properties file to ensure that a value has been set for the given property.
Invalid configuration file: <fileName>
Ensure that the given configuration file is present in the expected location.
Invalid runtime file: <fileName>
Ensure that the given runtime file is present in the expected location.
Invalid home directory: <home directory>
Ensure that the given home directory location is valid and correct.