does Lettuce allow duplicate field when using the XADD command? #3327
-
Upon reading the official document here, I realized that XADD command allows duplicate field and Redis stores both as opposed to override the previous value. Does Lettuce follow the same behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As far as I can tell - partially. You are able to create duplicates using the RedisFuture<String> xadd(K key, Object... keysAndValues); , but unfortunately reading seems to suffer from the problem described in the article you mention. Would you mind creating an issue so we can track this? |
Beta Was this translation helpful? Give feedback.
-
thank you @tishun for responding. I do not have such a use case but was just curious about the Lettuce behavior in this case. |
Beta Was this translation helpful? Give feedback.
As far as I can tell - partially. You are able to create duplicates using the
, but unfortunately reading seems to suffer from the problem described in the article you mention.
Would you mind creating an issue so we can track this?
Do you have a use case where you need to have duplicate items in the reply?
Would you mind to sharing it with the team?