Skip to content

Conversation

@Waddas
Copy link

@Waddas Waddas commented Jul 7, 2025

Description

Implemented ManualAssignPartitionOffsets to allow consumers to start consuming from a specified offset.

Fixes #584

How Has This Been Tested?

I've added ManualAssignPartitionOffsetsTest into the integration test suite. This uses the bootstrapped service provider to place 10 messages into a topic initially. It then creates a new service provider with a consumer to start at offset 5. The test verifies that the consumer only consumes messages at offsets 5 - 9.
I've added a ServiceProviderHelper to aid in the creation of the provider and refactored the GlobalEventTests to reduce code duplication.

Manual tests to verify consumers are starting from the specified offsets.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have made corresponding changes to the documentation

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@Waddas Waddas force-pushed the bw/manual-assign-offset branch from dfcc4f5 to 8a96647 Compare July 29, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Allow consumers to start consuming from specified offset

2 participants