-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Is your question related to a specific version? If so, please specify:
What binding does your question apply to, if any? (e.g. Blob Trigger, Event Hub Binding, etc)
Service Bus
Question
I have been integrating some azure functions with service bus triggers, and I want to point out documentation I think should be updated or clearified.
The docs for function service bus bindings can be found here:
The example of triggers use both func.ServiceBusMessage and servicebus.ServiceBusReceivedMessage
The example points to https://github.com/Azure/azure-functions-python-extensions using https://pypi.org/project/azurefunctions-extensions-bindings-servicebus/
The releases of azurefunctions-extensions-bindings-servicebus are marked as pre-release. The examples in the repo show settlements, which is something we want to use. However, the docs says that
Message settlement is not yet supported.
But the whole package is pre-release, and servicebus.ServiceBusReceivedMessage is used in the in the docs, so are settlements actually supported too?
Also, the package azurefunctions-extensions-bindings-servicebus is dependant on uamqp which has a history of not building and working on arm mac os machines:
Azure/azure-uamqp-python#386
Azure/azure-uamqp-python#379
Azure/azure-uamqp-python#349
Azure/azure-uamqp-python#284
Azure/azure-uamqp-python#278
the list goes on...
And it is no longer activly maintained
Azure/azure-uamqp-python#374
If these are the bindings that azure wants us to use on azure service bus going forward, it should maybe use maintained libraries that mac os users can use.
We have ended up just using the old func.ServiceBusMessage to read messages, and live without manual settlements for now.
But I would love to know when we can use settlements, and if its planned anytime soon