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
Copy file name to clipboardExpand all lines: docs/consumer.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,8 @@ Options:
140
140
141
141
Lists available offsets for topics.
142
142
143
+
If the topics list is empty, then it will fetch the offsets of all topics currently consumed by the consumer.
144
+
143
145
The return value is a map where keys are in the form `$topic:$partition` and values are arrays of offsets (where the position represents the partition).
144
146
145
147
Options:
@@ -167,6 +169,8 @@ Options:
167
169
168
170
Calculates the consumer lag for specified topics.
169
171
172
+
If the topics list is empty, then it will calculate the lag of all topics currently consumed by the consumer.
173
+
170
174
The return value is a map where keys are topic names and values are arrays of lag values (where the position represents the partition). A value of `-1n` indicates that the consumer is not assigned to that partition.
171
175
172
176
If a partition is filtered out via the `partitions` option, then a `-2n` will be returned for that partition.
0 commit comments