You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a redis stream which I dont control but I have to write a listener for that.
The message that comes has multiple field value pairs, but they will be duplicated
however when consuming this using XReadGroup it is consumed as a map and I don't get all the duplicate fields and values.
Is there a way I can consume this?
Here is how it works in redis-cli I can xadd multiple messages in a single XAdd and receive them also with the order being preseved
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a redis stream which I dont control but I have to write a listener for that.
The message that comes has multiple field value pairs, but they will be duplicated
e.g.
This is a valid way to add multiple fields all with the same field name and different values.
Now I can XAdd this using
however when consuming this using
XReadGroup
it is consumed as amap
and I don't get all the duplicate fields and values.Is there a way I can consume this?
Here is how it works in redis-cli I can xadd multiple messages in a single XAdd and receive them also with the order being preseved
How do I achieve this using go-redis ?
Kind of related - #1388
Beta Was this translation helpful? Give feedback.
All reactions