Closed
Description
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
groups, err := client.XInfoGroups(ctx, stream).Result()
if err != nil {
log.Error().Err(err).Msgf("Failed to get groups for stream %s", stream)
return err
}
Why does this code give an error:redis: got 12 elements in XINFO GROUPS reply, wanted 8.
Current Behavior
An error occurred, redis: got 12 elements in XINFO GROUPS reply, wanted 8. This error will occur whenever the XInfoGroups method is used. Why is this happening? Is your data type not compatible with Redis 7.0?
Possible Solution
No
Steps to Reproduce
- Using github.com/go-redis/redis/v8 v8.11.5.
- Connect to Redis 7 or above.
- Create a Stream Group and use the XInfoGroups method.
- Errors seem inevitable.
Context (Environment)
go-redis v8.11.5 and redis7.0+
Detailed Description
No
Possible Implementation
No
Metadata
Metadata
Assignees
Labels
No labels