Skip to content

Reader.startMessageIdInclusive() is not working  #6350

@Vanchhay

Description

@Vanchhay

Describe the bug
I tried to get the latest message from the topic using Reader.

client.newReader()
                    .topic(topic)
                    .startMessageId( X )
                    .startMessageIdInclusive()
                    .create();

But I got the message from X+1 and so on.

Expected behavior
Expected to receive the message from X and so on.

Additional context
pulsar version = 2.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions