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

fix bug about method ConsumerSeekAware.seekRelative #3043

Merged

Conversation

Wzy19930507
Copy link
Contributor

@Wzy19930507 Wzy19930507 commented Feb 17, 2024

public interface ConsumerSeekAware {
    void seekRelative(String topic, int partition, long offset, boolean toCurrent);
}

when offset positive and toCurrent false.

actual behavior is seek absolute offset to the beginning of the partition, fix to expected behavior that seek relative to the beginning of the partition, see Seeking to a Specific Offset.

Seek relative to the beginning of the partition.
@Wzy19930507 Wzy19930507 changed the title fix bug about method ConsumerSeekAware.seekRelative fix bug about method ConsumerSeekAware.seekRelative Feb 19, 2024
@sobychacko sobychacko added this to the 3.2.0-M2 milestone Feb 20, 2024
@sobychacko sobychacko merged commit 02c6383 into spring-projects:main Feb 20, 2024
3 checks passed
@Wzy19930507 Wzy19930507 deleted the fix_bug_offset_relative_beginning branch February 21, 2024 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants