Skip to content

Python API: seek(eventtime) #5541

Closed
@candlerb

Description

@candlerb

Is your feature request related to a problem? Please describe.
Feature-parity between APIs: Java Consumer and Reader have seek(messageId) and seek(timestamp), but Python has only seek(messageId) in Consumer, and nothing in Reader.

Describe the solution you'd like
Add a new method to Consumer and Reader to seek by timestamp. Or it could test the type of the value passed, or have different named arguments.

Describe alternatives you've considered
N/A

Additional context
Use cases are given in #5537 - e.g. rewind a reader to start at a given time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureThe PR added a new feature or issue requested a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions