Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld committed Aug 27, 2024
1 parent bba853c commit b4432aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 0.10.2 (Unreleased)
- [Fix] Prevent live-polling on elements wrapped in a button.
- [Fix] Fix errors extractor failure on first message-less tick / eofed

## 0.10.1 (2024-08-23)
- **[Feature]** Support Recurring Tasks management (Pro).
Expand Down
4 changes: 3 additions & 1 deletion lib/karafka/web/tracking/consumers/listeners/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def extract_consumer_info(consumer)
partition: consumer.partition,
first_offset: consumer.messages.metadata.first_offset,
last_offset: consumer.messages.metadata.last_offset,
committed_offset: consumer.coordinator.seek_offset - 1,
# We set it to -1000 if non-existent because after subtracting one, we will end up
# with -1001, which is "N/A" offset position for all the offsets here
committed_offset: (consumer.coordinator.seek_offset || -1_000) - 1,
consumer: consumer.class.to_s,
tags: consumer.tags
}
Expand Down

0 comments on commit b4432aa

Please sign in to comment.