Giter VIP home page Giter VIP logo

Comments (6)

payman81 avatar payman81 commented on June 12, 2024

There are a number of ways to do this.

  • having an envelope for messages that contains metadata around the message including publish time, receive count etc...
  • Use a co-relation id to work out time difference between messages

But none of these have been implemented yet.

Alternatively, you can watch your incoming queue for number of messages and use that as your main metric to track inefficiencies in your handlers. This is available right now and no change is required to the library.

from justsaying.

petemounce avatar petemounce commented on June 12, 2024

It would be very useful to add an IDictionary<string,string> to JustSaying.Models.Message for things like correlation IDs and metadata - that would give it the same extensibility model as http headers.

from justsaying.

payman81 avatar payman81 commented on June 12, 2024

That's similar to envelope feature.
In the first version, I would add it to Message base with caution. Last thing you want is adding to message payload for things that most people won't care.

from justsaying.

gerektoolhy avatar gerektoolhy commented on June 12, 2024

Actually, this is what we ended doing - we've adead Headers to the messages in form of IDictionary<string,string>, proved to be really useful.

from justsaying.

stale avatar stale commented on June 12, 2024

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from justsaying.

stale avatar stale commented on June 12, 2024

Closed automatically due to inactivity.

from justsaying.

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.