Skip to content

Final improvements before releasing 3.0 #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 14, 2020

Conversation

astubbs
Copy link
Contributor

@astubbs astubbs commented Dec 11, 2020

Fixes #52

@astubbs astubbs force-pushed the road-to-three-point-o branch 8 times, most recently from 21db743 to ae4a318 Compare December 14, 2020 10:42
Some tests now aggresively check for progress between success tests, failing if no progress has been made after some attempts.
Cached info for mail boxes for thread safety.
Config options have been removed where not needed, and max threads renamed to max concurrency, to fit better with the Vert.x module.

Fixes confluentinc#38 Back pressure system broken - max uncommitted message settings not honoured
In the future, we may introduce immediate commit modes, see confluentinc#40:
Feature: Transactional mode for individual consume producer loop instead of periodic batch
…d anymore

This collection is no longer shared between threads, because of the new
MailBox and CountingCRLinkedList.
… it is per partition

This massively improves the odds of not hitting the limit. However, the new back pressure system being developed still needs to be added, as it is possible to be hit.
As this is only calculated at the end of a batch cycle, and not continuously,
it may be too late, and offsets have to be dropped. But it’s relatively
simple and get’s us a lot of the way to the continuous (correct) solution).

Bitset test and fixes

Test failed messages that are blocking the partition can always retry, test pessimistic partition blocking (buffer of available payload space)
@astubbs astubbs force-pushed the road-to-three-point-o branch from ae4a318 to 19a9d6c Compare December 14, 2020 15:12
@astubbs astubbs merged commit 645d52f into confluentinc:master Dec 14, 2020
@astubbs astubbs deleted the road-to-three-point-o branch December 14, 2020 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants