Giter Site home page Giter Site logo

Comments (6)

michaelklishin avatar michaelklishin commented on September 8, 2024

Thanks for reporting. This is a limitation in both JDK and the protocol. We'll mention it in the Java client doc guide.

from rabbitmq-java-client.

rade avatar rade commented on September 8, 2024

I cannot fathom why you'd want to document this. At 1MHz, which is way faster than a single channel can operate, even on exotic hardware, it would take 292 thousand years to reach 2^63-1. So this is of no relevance to any user, and hence should not appear in the documentation.

from rabbitmq-java-client.

beeftornado avatar beeftornado commented on September 8, 2024

This is probably what they said about Y2K, and 32 bit numbers. Although I agree that this situation is very unlikely to ever appear, if someone found a way to exploit someone's messaging APIs and flood it with messages just to overflow that long, they could cause confirms to stop working. And in the future, as processor speeds increase, it will become more realistic to hit that number. And I follow the belief that all unexpected behavior should be documented.

On May 6, 2015, at 12:46 AM, rade [email protected] wrote:

I cannot fathom why you'd want to document this. At 1MHz, which is way faster than a single channel can operate, even on exotic hardware, it would take 292 thousand years to reach 2^63-1. So this is of no relevance to any user, and hence should not appear in the documentation.


Reply to this email directly or view it on GitHub.

from rabbitmq-java-client.

michaelklishin avatar michaelklishin commented on September 8, 2024

I don't mind documenting this as an FYI and looking into handling wrap-arounds as time permits. Thank you for bringing this up, @beeftornado: no edge case is too small to report.

from rabbitmq-java-client.

michaelklishin avatar michaelklishin commented on September 8, 2024

The doc part of this is done (in the website repo, which is not yet open source).

from rabbitmq-java-client.

michaelklishin avatar michaelklishin commented on September 8, 2024

I haven't seen this issue reported elsewhere in over 1 year, so closing as not a high enough priority, at least for now.

from rabbitmq-java-client.

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.