[FEATURE REQ] Allow users to customize SSLContext in azure-core-amqp and eventhubs #39988
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Event Hubs
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
As requested in #17963 and #17907 we still face this issue today where we can't pass a preferred SSLContext into the EventHubClientBuilder to cascade into where the ConnectionHandler.java creates the SSLContext.
Individual client connections in a large shared JVM shouldn't rely on the SSLContext.getDefault() to cover all use cases and should be configurable on a per-client basis. Ideally this would be exposed in the already very expansive
EventProcessorClientBuilder
This is very common in client SDKs to expose (Apache HTTPClient, etc).
Can we get this re-looked at?
I do appreciate that there are some complexities at work here as you may also need to hand this SSLContext into the Blob Container also which has dependencies on the storage SDK and something at the
EventProcessorClientBuilder
encapsulates both an amqp connection as well as (typically) a storage connection.The text was updated successfully, but these errors were encountered: