Skip to content

StreamAddAsync gives error "ERR wrong number of arguments for XADD" #982

@fmagn

Description

@fmagn

I love the new Redis Streams support, thanks!

But I have a problem when passing in useApproximateMaxLength true.

This does not work (useApproximateMaxLength: true):

  • redis.Database().StreamAddAsync("abc", "data", value, maxLength: 10, useApproximateMaxLength: true, CommandFlags.None);

Redis gives "ERR wrong number of arguments for XADD".

This works (same call but with useApproximateMaxLength: false)

  • redis.Database().StreamAddAsync("abc", "data", value, maxLength: 10, useApproximateMaxLength: false, CommandFlags.None);

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