-
Notifications
You must be signed in to change notification settings - Fork 81
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
Update Samples for 3.1.0 with removing cacert.pem from Kafka Extensions #168
base: dev
Are you sure you want to change the base?
Conversation
@@ -214,36 +214,14 @@ private ConsumerConfig GetConsumerConfiguration() | |||
conf.SaslMechanism = SaslMechanism.Plain; | |||
conf.SaslUsername = EventHubsSaslUsername; | |||
conf.SaslPassword = this.listenerConfiguration.EventHubConnectionString; | |||
conf.SslCaLocation= this.EnsureValidEventHubsCertificateLocation(this.listenerConfiguration.SslCaLocation); | |||
conf.SslCaLocation= this.listenerConfiguration.SslCaLocation; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to provide a CA for event hubs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fbeltrao
Thank you for the review. I think we don't need CA anymore. not only EventHubs but others.
We might be able to remove the SslCaLocation, however, there is leagacy code that cause breaking change by it and in some usecase still might use it. That is why I keep the SslCaLocation
It's self. Do you have any suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Since this is inside the block for event hubs only and we don't need a CA we could remove the line, don't we?
Update the samples to the version 3.1.0
What I did
Hi @fbeltrao
Could you have a look at Microsoft.Azure.WebJobs.Extensions.Kafka.csproj , please?
Also, the KafkaListner's validation of the EventHubs with cacert validation.
I'd like to make sure if it is no problem for the customers.