purushah opened a new issue, #1496:
URL: https://github.com/apache/flink-agents/issues/1496

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   The Kafka Action State Store only takes `kafkaBootstrapServers`. We can't 
pass Kafka security settings. The configuration guide also says this.
   
   So on a Kafka cluster that needs SASL or TLS, the store can't connect. Then 
the job can't use the store, and Actions can run again after a failure. The 
Fluss store already has SASL options.
   
   I tested it on main with a local SASL_PLAINTEXT broker. The store fails 
after about 60 seconds:
   
   ```
   java.lang.RuntimeException: Failed to create or verify Kafka topic
   Caused by: java.util.concurrent.TimeoutException
   ```
   
   The error does not mention authentication, so it is hard to debug.
   
   I think we should pass Kafka client properties through with a prefix, like 
`properties.*` in the Flink Kafka SQL connector. The same settings should go to 
the cleanup coordinator and the cleanup tool. The other option is named options 
like Fluss has.
   
   Which one do you prefer? I can submit the PR.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to