karafka-web 0.7.0 → 0.7.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 +7 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/web/ui/pro/views/consumers/_consumer.erb +5 -1
- data/lib/karafka/web/ui/pro/views/explorer/show.erb +1 -1
- data/lib/karafka/web/ui/public/javascripts/live_poll.js +9 -0
- data/lib/karafka/web/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 291ef570840ca0156ae989c7bb729253e0a521d948e2f47688f88f8736568f5d
|
4
|
+
data.tar.gz: ee5b833af74db2c40cde6b2dafa7ead04308d16a3e5039b71c27e0f268cc7a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a05eefd03dab85d2576167c64a64ae3e13d944171df675626984eb57f7d0373d149d55a378fb44d4d8861c9db23b20ea6eef7368c53e9b101fda3dde4bc19bc
|
7
|
+
data.tar.gz: a7156e82313ff118fc1a35721bd14c9383ad670da877b31b00f7e4de95fb0d8b63d6385123efd54b9a15b68bd9734af9599c68136f8f84939f8851d01aab4856
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Karafka Web changelog
|
2
2
|
|
3
|
+
## 0.7.1 (2023-09-15)
|
4
|
+
- [Improvement] Limit number of partitions listed on the Consumers view if they exceed 10 to improve readability and indicate, that there are more.
|
5
|
+
- [Improvement] Make sure, that small messages size (less than 100 bytes) is correctly displayed.
|
6
|
+
- [Fix] Validate refresh time.
|
7
|
+
- [Fix] Fix invalid message payload size display (KB instead of B, etc).
|
8
|
+
|
3
9
|
## 0.7.0 (2023-09-14)
|
4
10
|
- **[Feature]** Introduce graphs.
|
5
11
|
- **[Feature]** Introduce historical metrics storage.
|
@@ -96,6 +102,7 @@ Karafka::Web.enable!
|
|
96
102
|
|
97
103
|
Because of the reporting schema update and new web-ui topics introduction, it is recommended to:
|
98
104
|
|
105
|
+
0. Make sure you have upgraded to `0.6.3` before and that it was deployed. To all the environments you want to migrate to `0.7.0`.
|
99
106
|
1. Upgrade the codebase based on the below details.
|
100
107
|
2. **Stop** the consumer materializing Web-UI. Unless you are running a Web-UI dedicated consumer as recommended [here](https://karafka.io/docs/Web-UI-Development-vs-Production/), you will have to stop all the consumers. This is **crucial** because of schema changes. `karafka-web` `0.7.0` introduces the detection of schema changes, so this step should not be needed in the future.
|
101
108
|
3. Run a migration command: `bundle exec karafka-web migrate` that will create missing states and missing topics. You **need** to run it for each of the environments where you use Karafka Web UI.
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,11 @@
|
|
14
14
|
<% subscription_group.topics.each do |topic| %>
|
15
15
|
<span class="badge bg-secondary badge-topic" title="Consumer group: <%= consumer_group.id %>">
|
16
16
|
<%= topic.name %>:
|
17
|
-
|
17
|
+
<% if topic.partitions.size > 10 %>
|
18
|
+
<%= "#{topic.partitions.first(10).map(&:id).join(',')}..." %>
|
19
|
+
<% else %>
|
20
|
+
<%= topic.partitions.map(&:id).join(',') %>
|
21
|
+
<% end %>
|
18
22
|
</span>
|
19
23
|
<% end %>
|
20
24
|
<% end %>
|
@@ -116,6 +116,15 @@ function scheduleLivePoll() {
|
|
116
116
|
}
|
117
117
|
|
118
118
|
let ti = parseInt(localStorage.karafkaTimeInterval) || 5000;
|
119
|
+
|
120
|
+
// Ensure refresh frequency is not less than 1 second
|
121
|
+
// Prevent a case where local storage could be modified in such a way, that would cause issues
|
122
|
+
// due to too frequent refreshes
|
123
|
+
if (ti < 1000) {
|
124
|
+
localStorage.karafkaTimeInterval = 5000
|
125
|
+
ti = 5000
|
126
|
+
}
|
127
|
+
|
119
128
|
livePollTimer = setTimeout(livePollCallback, ti);
|
120
129
|
}
|
121
130
|
|
data/lib/karafka/web/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
|
36
36
|
msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-09-
|
38
|
+
date: 2023-09-15 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: erubi
|
metadata.gz.sig
CHANGED
Binary file
|