Skip to content

Xrange - impossible to provide count argument #3081

Closed
@fliespl

Description

@fliespl
		messages, err := t.client.XRange(ctx, t.streamName, fromSeq, "+ COUNT 1").Result()

Possibility to provide "+ count 1" as stop argument or stop as "+" and option count 1

Current Behavior

ERR Invalid stream ID specified as stream command argument

Also, it's impossible to execute as described in xrange documention:

XRANGE writers (1526985685298-0 + COUNT 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions