MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.49k forks source link

Azure functions to Service bus connection: Protocol and port not documented #73613

Open sijucm opened 3 years ago

sijucm commented 3 years ago

It would have been lovely if Microsoft could provide which protocol is used by Azure functions to connect to service bus. I suspect it is not 443 and it is 5671 (AMQP), but because it is not documented it is very difficult to debug connectivity issue. I'm sure it is different for each SDK/Language/OS in the typical Microsoft way of doing things, but I'm looking for NodeJS/Javascript and Linux OS with a vnet integrated App-service.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mikeurnun commented 3 years ago

Hello @sijucm - Thank you for your feedback! We will review and update as appropriate.

mikeurnun commented 3 years ago

Hello @sijucm - Thank you for sharing your feedback!

Yes, the default is AMQP 5671 port but please note that you provide a Service Bus ConnectionString (which can be customized at your end) to the binding configuration which then gets passed into the runtime and used as-is for establishing connectivity. Azure Functions' language extensibility model relies on gRPC for communication between different runtimes. As such, there are no language/SDK/OS-specific implementations, rather, there is an extension to the host runtime for Service Bus: https://github.com/Azure/azure-functions-servicebus-extension

If any further questions regarding this matter, please tag me and let me know, or better yet, consider making a post on MS QnA channel.

As the next step, we are now proceeding to assign this issue to the listed content author for further reviewing your feedback and determining the required changes for this documentation.