-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Kafka Scaler with both SASL and SSL(TLS) #1043
Comments
FYI^ @tbickford @iyacontrol @ppatierno @grassiale @rasavant-ms @ahmelsayed @flecno (sorry for the spam, but wasn't sure whom to ask, so I simply look at the contribution history on the Kafka Scaler 😅) |
@zroubalik from what I see here keda/pkg/scalers/kafka_scaler.go Line 201 in bf25619
it's supported by mixing SSL with other SASL mechanisms for authentication like PLAINTEXT and SCRAM-SHA with both username and password. It's also possible to use SSL client authentication using the certificates. |
+1000 that code is a mess @ppatierno OK, but while looking at the code, the only authmode where you can specify certificates is in this if block keda/pkg/scalers/kafka_scaler.go Line 224 in bf25619
|
) Signed-off-by: Zbynek Roubalik <[email protected]> Signed-off-by: Zbynek Roubalik <[email protected]>
First of all I'd like to say, that I am not a Kafka expert.
Currently there's no way, how to set both
SSL
(cert, key, cacert) andSASL
(username, password) for client in Kafka scaler, look at the code below:keda/pkg/scalers/kafka_scaler.go
Lines 144 to 173 in bf25619
There are several options for Authentication of Kafka Scaler, but I haven't found a one, that allows me to specify both.
Is this a correct behavior? IMHO it should be possible to specify both.
The text was updated successfully, but these errors were encountered: