-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
I have a stream with a registered consumer group.
I can see these details when I run redis-cli
127.0.0.1:6379> XINFO STREAM GROUPTESTSTREAM-XFI-00573-2023-05-12-1816 FULL
1) "length"
2) (integer) 1
3) "radix-tree-keys"
4) (integer) 1
5) "radix-tree-nodes"
6) (integer) 2
7) "last-generated-id"
8) "1683904609269-0"
9) "max-deleted-entry-id"
10) "0-0"
11) "entries-added"
12) (integer) 1
13) "recorded-first-entry-id"
14) "1683904609269-0"
15) "entries"
16) 1) 1) "1683904609269-0"
2) 1) "test"
2) "test"
17) "groups"
18) 1) 1) "name"
2) "NEWGROUP1-EXV-00337-2023-05-12-1816"
3) "last-delivered-id"
4) "0-0"
5) "entries-read"
6) (nil)
7) "lag"
8) (integer) 1
9) "pel-count"
10) (integer) 0
11) "pending"
12) (empty array)
13) "consumers"
14) (empty array)
However when I call the function XInfoStreamFull
on the same stream through the API then Groups slice is nil
How to reproduce
- Produce message to stream SX
- Create consumer group GX to stream SX (I specifically used XGroupCreateMkStream with SX and start 0
client.XGroupCreateMkStream(ctx, streamKey, consumerGroup, "0").Err()
- call the info full function
client.XInfoStreamFull(ctx, streamKey, 0).Result()
Groups collection returns null
version used
Redis 7.0.4 (00000000/0) 64 bit
github.com/redis/go-redis/v9 v9.0.4