-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
With xadd I can add string | Buffer | number; But acquire value with xreadgroup returns string(corrupted).
Is there is an equivalent method to receive buffer in stream group read?
Cant find one.
redis.xreadgroup(
'GROUP',
groupName,
consumerName,
'COUNT',
count,
'STREAMS',
channel,
id || '>'
);
closest method found
xreadBuffer(...args: [
streamsToken: "STREAMS",
...args: RedisValue[],
callback: Callback<[
key: Buffer,
items: [id: Buffer, fields: Buffer[]][]
][] | null>
]): Result<[
key: Buffer,
items: [id: Buffer, fields: Buffer[]][]
][] | null, Context>;
Disimasa
Metadata
Metadata
Assignees
Labels
No labels