Skip to content
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

Ability to specify transport type for event hubs in the new 2.0.0 package. #431

Open
talhanaveedcoop opened this issue Oct 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@talhanaveedcoop
Copy link

In version 1.5.4, we used EventHubsConnectionStringBuilder from Microsoft.Azure.EventHubs, which had a TransportType property that allowed us to specify AMQP WebSockets. The new Azure.Messaging.EventHubs package's EventHubsConnectionStringProperties doesn’t have this property, and it defaults to AMQP.

Our company's network blocks AMQP ports, so I need to use AMQP WebSockets to run the code locally. Could you add an option to specify TransportType in Netherite? This would help in environments where AMQP is restricted.

It seems like a simple and useful addition.

Thank you!

@sebastianburckhardt
Copy link
Member

Could you add an option to specify TransportType in Netherite?

Adding a configuration setting for a connection is not extremely straightforward since in Azure Functions, connections are usually configured via an indirection (using a connection name, which is then resolved to one or more parameters). I suppose it is possible. Our best bet may be to add this at the same time as support for managed identity since that already requires the ability to configure multiple parameters for a connection.

@sebastianburckhardt sebastianburckhardt added enhancement New feature or request and removed Needs: Triage 🔍 labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants