Skip to content

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
@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