smallrye-mutiny
smallrye-mutiny copied to clipboard
MultiOverflowStrategy.buffer() no-arg method leads to usage of a fixed-size buffer despite Javadoc unbounded claim
Context
Mutiny v1.7.0
Description
The no-arg method MultiOverflowStrategy.buffer()
calls the MultiOverflowStrategy.buffer(int)
overload with the arg value of 128. This leads to usage of a fixed-size buffer despite the Javadoc of the buffer()
method unbounded claim.
So, I guess, either the method implementation or the Javadoc itself should be changed.
Thanks, we're having a look soon
Yes, some things are wrong (plural):
- the javadoc is wrong, it should not mention unbounded, as it's clearly bounded.
- the magic value should be configurable from the Infrastructure class
- the creation of an unbounded variant should be possible