I get this error message in datahub-action log ?what is problem with my executor.yaml ?
KafkaException: KafkaError{code=INVALID_ARG,val=-186,str=“Java JAAS configuration is not supported, see https://github.com/confluentinc/librdkafka/wiki/SASL-with-librdkafka for more information.”}
Hey there! 
<@U06TM7M40RK> Can you help with the questions in this thread?
Please continue to tag RunLLM (e.g <@U06TM7M40RK>) to have it continue generating responses!
The error message you’re encountering indicates that the Java JAAS configuration is not supported in the context of DataHub Actions, which uses a Python-based framework. This is a common issue when trying to use Java-based configurations with Python libraries, such as confluent-kafka-python
, which is used by DataHub Actions.
To resolve this issue, you need to adjust your executor.yaml
to use the appropriate Python-style configuration for SASL authentication. Here are some steps you can follow:
-
Remove Java JAAS Configuration: Ensure that your
executor.yaml
does not include any Java JAAS configuration entries, as these are not supported. -
Use Python-style SASL Configuration: Update your
executor.yaml
to use the Python-style configuration for SASL. This involves setting thesasl.username
andsasl.password
directly in the configuration file. -
Example Configuration: Here is an example of how your
executor.yaml
should look:connection: bootstrap: "<your_kafka_bootstrap_server>" consumer_config: security.protocol: "SASL_SSL" sasl.mechanism: "PLAIN" sasl.username: "your_kafka_username" sasl.password: "your_kafka_password" schema_registry_url: "<your_schema_registry_url>" schema_registry_config: basic.auth.user.info: "your_schema_registry_username:your_schema_registry_password"
-
Ensure Correct Environment Variables: Make sure that any environment variables used in your configuration are correctly set and accessible by the DataHub Actions pod.
For more detailed guidance, you can refer to the <Integrating with Confluent Cloud | DataHub documentation on configuring Confluent Cloud for DataHub Actions>.
Would you like more detailed step-by-step guidance on any of these points?
Sources:
- <Integrating with Confluent Cloud | DataHub documentation on configuring Confluent Cloud for DataHub Actions>
0 button
0 button
Hint: Mention @runllm in the thread for followups.
Hi, how did my answer work out for you? Need any more assistance? You can also tag <@U07FV3UHE4D> to let your fellow community members know you’re still looking for guidance.
Hi ! Did this interaction resolve your issue or do you still require assistance ?
Please tag @ RunLLM if you still need further assistance !
Or tag @Datahub Community Support if you require a person to take a look
Hope this helps ! ><