-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Configuring Kafka client authentication settings when using Apache Kafka storage option #2073
Comments
@jsenko and/or @carlesarnal can probably answer this one? |
Hi @jakedern-msft, Unfortunately, this is not possible right now when using Registry. That said, I have opened this #2101 and I'll try to get it fixed ASAP and then get a Registry release making this configuration available. |
@carlesarnal - Thanks for the update, looking forward to this feature! |
Hi @jakedern-msft here you have the PR adding this capability #2104. |
@carlesarnal Thank you for the quick turnaround time this looks like a great start! At the risk of betraying my lack of knowledge in this area and/or asking too much, I'm wondering if it's also possible to expose the admin client SSL settings in addition to the SASL settings. We're using our own certificate authority for all certificates in our Kafka cluster, so ideally we would like to have control over the certificate and CA bundle that this client will use for the SSL connection. |
Ahh, ok, I just added the most basic support for securely connecting to Kafka. Let me see what I can do to also expose that configuration. |
@carlesarnal Thank you! I really appreciate it. |
HI @jakedern-msft, sorry, I've been on PTO. Here's I think what you'll need. Let me know if you would like that we expose any other configuration. |
No worries at all @carlesarnal, I've also been out of the office most of the last month. The only other two things I can think of that may be useful to configure are keystore/truststore type and ssl protocol. For the former it's really not a big deal to convert between p12 and jks. It's just more convenient and in general we prefer p12. And as long as the ssl protocol is locked to 1.3 it's also ok. Thanks so much again for getting this through, it will be a big help to us! |
Ah, I used JKS, since, AFAIK, is the default in the Kafka client. I'll write up something ASAP to add the type and protocol. |
@carlesarnal status on this one? |
Sorry for the delay. The protocol is already there and can be changed on demand. This will add support for specifying the type. |
Merged. Closing this issue - @jakedern-msft please re-open if we're missing something. :) |
Is there a way to configure Kafka client authentication settings when using the Apache Kafka storage option? I'm currently running into issues standing up an Apicurio instance with this storage option seemingly due to the fact that my Kafka cluster requires SSL connections. From the Kafka server logs there are repeated attempts to perform an SSL handshake with the Apicurio instance that fail.
From the Apicurio logs I also see the following:
It seems as though the security settings are there in the
AdminClientConfig
, but I can't seem to find a way to configure it via environment variables. I've been referencing this file and this one for exposed config.Is there anything I'm missing regarding configuring the client used with the Kafka storage option?
Thanks much for any help!
The text was updated successfully, but these errors were encountered: