Skip to content
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

Group versions #4

Merged
merged 9 commits into from
Jul 13, 2018
Merged

Group versions #4

merged 9 commits into from
Jul 13, 2018

Conversation

bsideup
Copy link
Owner

@bsideup bsideup commented Jul 11, 2018

No description provided.

partition,
new StoredSource(
latestAckedOffsets,
Mono

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move this out in a separate method, so that it become easier to understand

.isEqualTo(nextOffset);
}

@Test

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also add check when a higher version 'ack' and lower version tries to getRecords? I think version will not be decreasing, but just to add.

@bsideup bsideup merged commit 7ed0650 into master Jul 13, 2018
@bsideup bsideup deleted the group_versions branch July 13, 2018 13:57
result.group(1),
Optional.ofNullable(result.group(2)).map(Integer::parseInt)
);
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can omit this else

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK result.group(2) will fail

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean operator, simply return

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, ok, I get it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants