Azure function ServiceBus binding does not support binary data type for python
I am sending gzip compressed stream data(bytes data) to servicebus session enabled queue.
In ServiceBus trigger function (python based), i am receiving message body and trying to decompress. But its failing and saying data is not of GzipFile file format. On debugging further found that received message body has different bytes data and not matching to that i sent on queue from servicebus producer client.
After searching for relevant posts, found below open issue related to above:
https://github.com/Azure/azure-functions-host/issues/3125
Let me know if anyone face similar issue and has solution for this.
FYI: i am using below version of core tools:
Python version 3.9.12
Azure Functions Core Tools
Core Tools Version: 4.0.3971 Commit hash: d0775d487c93ebd49e9c1166d5c3c01f3c76eaaf (64-bit)
Function Runtime Version: 4.0.1.16815