Git Product home page Git Product logo

Comments (6)

annatisch avatar annatisch commented on June 1, 2024

Thanks @digimaun!
Is it likely related to this issue?
https://github.com/Azure/azure-event-hubs-python/issues/42

You can determine whether this is the cause by commenting out the lines for application properties as mentioned in my last post in the thread.
If that is the cause, then I will have a fix posted by Monday :)

from azure-uamqp-python.

digimaun avatar digimaun commented on June 1, 2024

Thank you for the fast response. Yup that was it 😃 , though with commenting I don't have my app props anymore but I'm unblocked. Sounds good on Monday for the fix! ✨

from azure-uamqp-python.

annatisch avatar annatisch commented on June 1, 2024

One question though - sending batched messages doesn't yet support application properties, even in RC1:
https://github.com/Azure/azure-uamqp-python/blob/v0.1.0rc1/uamqp/message.py#L293

The reason for this is that when multiple messages are embedded into a single message - they can all share a single "properties" section and "header" section, but application properties are supposed to apply individually to each of the embedded messages - and thus need to also be encoded into the batch message request. I haven't figured out the correct encoding/structure to handle this yet.

So I'm not sure how you're receiving the message from the batch publish with application properties - unless the service has been adding these properties?

from azure-uamqp-python.

digimaun avatar digimaun commented on June 1, 2024

Ah to clarify, I am actually not using uamqp for sending messages, this is work on a device-to-cloud IoT scenario sending batched messages via MQTT where IoT Hub manages the event hub interaction. The batching is really a sequence of messages sent to a particular topic - rather than multiple messages embedded in a single message. uamqp is used on the receiving side.

from azure-uamqp-python.

annatisch avatar annatisch commented on June 1, 2024

Gotcha! Thanks for the clarification :)

from azure-uamqp-python.

annatisch avatar annatisch commented on June 1, 2024

Fix published in v0.1.1 :)

from azure-uamqp-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.