The error message you’re encountering, “Disconnected while requesting ApiVersion: might be caused by incorrect security.protocol configuration (connecting to a SSL listener?) or broker version is < 0.10,” typically indicates a misconfiguration in the security protocol settings for your Kafka connection. This is a common issue when connecting to Kafka brokers that require SSL/TLS encryption.
Here are some steps and configurations that might help resolve the issue:
Verify Security Protocol Configuration: Ensure that the security protocol configuration is correctly set. If you are using SSL, your configuration should specify security.protocol as SSL.
Check Kafka Broker Version: Ensure that your Kafka broker version is indeed greater than 0.10, as the error message suggests.
Custom Executor Configuration: If you are using DataHub Actions, you might need to customize the executor.yaml file to include the correct Kafka configurations. Here is an example configuration:
Environment Variables: Ensure that all necessary environment variables are correctly set, especially those related to Kafka security settings.
Check for Additional Configuration: If you are using AWS MSK, ensure that you have configured the necessary IAM roles and policies if using IAM authentication.
If you need more detailed guidance on any of these points, please let me know!