Skip to content

Commit

Permalink
Merge pull request tulios#1329 from mksmtn/patch-1
Browse files Browse the repository at this point in the history
fix typo: offets should be offsets
  • Loading branch information
Nevon authored Apr 27, 2022
2 parents 77d2bf8 + 8e377d8 commit 200b9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ await admin.fetchOffsets({ groupId, topics: ['topic1', 'topic2'] })

Omit `topics` altogether if you want to get the consumer group offsets for all topics with committed offsets.

Include the optional `resolveOffsets` flag to resolve the offsets without having to start a consumer, useful when fetching directly after calling [resetOffets](#a-name-reset-offsets-a-reset-consumer-group-offsets):
Include the optional `resolveOffsets` flag to resolve the offsets without having to start a consumer, useful when fetching directly after calling [resetOffsets](#a-name-reset-offsets-a-reset-consumer-group-offsets):

```javascript
await admin.resetOffsets({ groupId, topic })
Expand Down

0 comments on commit 200b9e1

Please sign in to comment.