-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix maxMessagesPerPoll for reactive poll endpoint
The current `Flux.take()` doesn't allow an arg `< 0` treating it as an unbound request. * Change `take()` to `limitRequest()` according strict `MessageSource.receive()` producing expectations * Treat `maxMessagesPerPoll < 0` as a `Long.MAX_VALUE` for unbound requests; `0` is treated in the `limitRequest()` as "no more requests - cancel" * Revise `AbstractPollingEndpoint` for `LogAccessor` usage * Add `AbstractPollingEndpoint` class JavaDocs * Fix tests according `AbstractPollingEndpoint` changes **Cherry-pick to `5.4.x`**
- Loading branch information
1 parent
d3ce5b5
commit ab12b6b
Showing
3 changed files
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters