karafka-web 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/web/installer.rb +7 -2
- data/lib/karafka/web/ui/models/message.rb +3 -3
- data/lib/karafka/web/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b6f97a725c2cd9e8458d8b4a32a347e42898e1f5598b3998a460e063fc0b149
|
4
|
+
data.tar.gz: 4a8762c41fa42f5e9c75380ce098423acd72db1720dbf412fd33cb412efc3855
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1899bee43d1597e59755ce9f148b817e2c69c3b1b76ee7c6058aef2fc4a985f057b50c26bd000cc121c3cf73c694f906a92a85885e2d5337630ed728ba3e1a1
|
7
|
+
data.tar.gz: aaca8f979aa93075cceb315f25be6ca98dcde650a6302cca3b4d134df7159210996c71010be28043cb673d0ec54a8a54f5c058ec3f83d30a3d343c230de1a4cb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Karafka Web changelog
|
2
2
|
|
3
|
+
## 0.3.1 (2023-03-27)
|
4
|
+
- [Fix] Add missing retention policy for states topic.
|
5
|
+
- [Fix] Fix display of compacted messages placeholders for offsets lower than low watermark.
|
6
|
+
- [Fix] Fix invalid pagination per page count.
|
7
|
+
|
8
|
+
### Upgrade notes
|
9
|
+
|
10
|
+
If upgrading from `0.3.0`, nothing.
|
11
|
+
|
12
|
+
If upgrading from lower, please follow `0.3.0` upgrade procedure.
|
13
|
+
|
3
14
|
## 0.3.0 (2023-03-27)
|
4
15
|
- **[Feature]** Support paginating over compacted topics partitions.
|
5
16
|
- [Improvement] Display watermark offsets in the errors view.
|
data/Gemfile.lock
CHANGED
@@ -102,8 +102,13 @@ module Karafka
|
|
102
102
|
consumers_states_topic,
|
103
103
|
1,
|
104
104
|
replication_factor,
|
105
|
-
# We care only about the most recent state, previous are irrelevant
|
106
|
-
|
105
|
+
# We care only about the most recent state, previous are irrelevant. So we can easily
|
106
|
+
# compact after one minute. We do not use this beyond the most recent collective
|
107
|
+
# state, hence it all can easily go away.
|
108
|
+
{
|
109
|
+
'cleanup.policy': 'compact',
|
110
|
+
'retention.ms': 60 * 60 * 1_000
|
111
|
+
}
|
107
112
|
)
|
108
113
|
end
|
109
114
|
|
@@ -56,11 +56,11 @@ module Karafka
|
|
56
56
|
# not previous page leading offset
|
57
57
|
start_offset = high_offset - (per_page * page)
|
58
58
|
|
59
|
-
if start_offset
|
60
|
-
count = per_page
|
59
|
+
if start_offset <= low_offset
|
60
|
+
count = per_page - (low_offset - start_offset)
|
61
61
|
previous_page = page < 2 ? false : page - 1
|
62
62
|
next_page = false
|
63
|
-
start_offset =
|
63
|
+
start_offset = low_offset
|
64
64
|
else
|
65
65
|
previous_page = page < 2 ? false : page - 1
|
66
66
|
next_page = page + 1
|
data/lib/karafka/web/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|