karafka-web 0.11.0.beta1 → 0.11.0.beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/Gemfile.lock +1 -1
- data/Rakefile +4 -0
- data/karafka-web.gemspec +0 -5
- data/lib/karafka/web/errors.rb +0 -12
- data/lib/karafka/web/pro/ui/controllers/consumers/consumers_controller.rb +1 -3
- data/lib/karafka/web/pro/ui/views/consumers/consumers/_consumer.erb +47 -56
- data/lib/karafka/web/pro/ui/views/consumers/consumers/_consumer_performance.erb +59 -68
- data/lib/karafka/web/pro/ui/views/consumers/controls/_controls.erb +82 -91
- data/lib/karafka/web/pro/ui/views/jobs/_job.erb +38 -47
- data/lib/karafka/web/processing/consumer.rb +7 -7
- data/lib/karafka/web/processing/consumers/aggregators/state.rb +14 -14
- data/lib/karafka/web/ui/base.rb +1 -5
- data/lib/karafka/web/ui/models/process.rb +3 -1
- data/lib/karafka/web/ui/models/processes.rb +27 -6
- data/lib/karafka/web/ui/models/status.rb +1 -1
- data/lib/karafka/web/ui/public/javascripts/application.min.js.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css +61 -48
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.br +0 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/libs/tailwind.css +0 -6
- data/lib/karafka/web/ui/views/consumers/_consumer.erb +30 -39
- data/lib/karafka/web/ui/views/jobs/_job.erb +29 -38
- data/lib/karafka/web/ui/views/ux/_status_rows.erb +0 -6
- data/lib/karafka/web/version.rb +1 -1
- data/package-lock.json +3 -3
- metadata +7 -39
- checksums.yaml.gz.sig +0 -0
- data/certs/cert.pem +0 -26
- data/lib/karafka/web/ui/views/consumers/_incompatible.erb +0 -13
- data/lib/karafka/web/ui/views/shared/exceptions/incompatible_schema.erb +0 -34
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dbb446937174f7dd3cab032906c346093d389ec59084557f05e56294f127b3c
|
4
|
+
data.tar.gz: 02b0435ccb4a655bd1870a508ac9173d310e8f82442af82b6e1e35a573b6ae4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfeaf8bc767470dd2a90619757bf57ab9e7695f2487006658d8cc186c83e4bfd8786924e0b622013ff6c366dfa5a669e12fd782f1cbfcd26d179c81a14ec93c9
|
7
|
+
data.tar.gz: dc043752038cf5225319453dd6f2471115824d56961cd6016e2f7d753c56fdfc0788bd59ea75d266cf6ed3872c2b9782d226e72b5ec3c9a29c505d44f266b8e9
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
## 0.11.0 (Unreleased)
|
4
4
|
- **[Feature]** Provide ability to pause/resume partitions on running consumers via the UI (Pro).
|
5
5
|
- **[Feature]** Provide ability to edit offsets of running consumers (Pro).
|
6
|
-
- **[Feature]** Support consumers that have mismatching schema.
|
6
|
+
- **[Feature]** Support consumers that have mismatching schema in the Status page.
|
7
7
|
- **[Feature]** Provide ability to navigate to a timestamp in the Explorer (Pro).
|
8
8
|
- **[Feature]** Provide ability to create and delete topics from the Web UI (Pro).
|
9
9
|
- **[Feature]** Provide ability to manage topics configuration from the Web UI (Pro).
|
@@ -29,6 +29,7 @@
|
|
29
29
|
- [Enhancement] Improve error handling in the commanding iterator listener (Pro).
|
30
30
|
- [Change] Do not fully hide config-disabled features but make them disabled.
|
31
31
|
- [Change] Remove per-consumer process duplicated details from Subscriptions and Jobs tabs.
|
32
|
+
- [Change] Move to trusted-publishers and remove signing since no longer needed.
|
32
33
|
- [Refactor] Make sure all temporary topics have a `it-` prefix in their name.
|
33
34
|
- [Refactor] Introduce a `bin/verify_topics_naming` script to ensure proper test topics naming convention.
|
34
35
|
- [Fix] Closest time based lookup redirect fails.
|
data/Gemfile.lock
CHANGED
data/Rakefile
ADDED
data/karafka-web.gemspec
CHANGED
@@ -26,11 +26,6 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.required_ruby_version = '>= 3.1.0'
|
28
28
|
|
29
|
-
if $PROGRAM_NAME.end_with?('gem')
|
30
|
-
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
31
|
-
end
|
32
|
-
|
33
|
-
spec.cert_chain = %w[certs/cert.pem]
|
34
29
|
spec.executables = %w[karafka-web]
|
35
30
|
spec.require_paths = %w[lib]
|
36
31
|
|
data/lib/karafka/web/errors.rb
CHANGED
@@ -54,18 +54,6 @@ module Karafka
|
|
54
54
|
|
55
55
|
# Similar to the one related to consumers states
|
56
56
|
MissingConsumersMetricsTopicError = Class.new(BaseError)
|
57
|
-
|
58
|
-
# This error occurs when consumer running older version of the web-ui tries to materialize
|
59
|
-
# states from newer versions. Karafka Web-UI provides only backwards compatibility, so
|
60
|
-
# you need to have an up-to-date consumer materializing reported states.
|
61
|
-
#
|
62
|
-
# If you see this error, please make sure that the consumer process that is materializing
|
63
|
-
# your states is running at least the same version as the consumers that are reporting
|
64
|
-
# the states
|
65
|
-
#
|
66
|
-
# If you see this error do not worry. When you get a consumer with up-to-date version,
|
67
|
-
# all the historical metrics will catch up.
|
68
|
-
IncompatibleSchemaError = Class.new(BaseError)
|
69
57
|
end
|
70
58
|
|
71
59
|
# Ui related errors
|
@@ -71,9 +71,7 @@ module Karafka
|
|
71
71
|
current_state = Models::ConsumersState.current!
|
72
72
|
@process = Models::Process.find(current_state, process_id)
|
73
73
|
|
74
|
-
|
75
|
-
|
76
|
-
raise Errors::Ui::IncompatibleSchemaError
|
74
|
+
render
|
77
75
|
end
|
78
76
|
|
79
77
|
# @param process_id [String] id of the process we're interested in
|
@@ -1,59 +1,50 @@
|
|
1
1
|
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
2
|
<%# See LICENSE for details. %>
|
3
3
|
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
<
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
</tr>
|
52
|
-
<% else %>
|
53
|
-
<%==
|
54
|
-
partial(
|
55
|
-
'consumers/incompatible',
|
56
|
-
locals: { colspan: 5, process: process }
|
57
|
-
)
|
58
|
-
%>
|
59
|
-
<% end %>
|
4
|
+
<tr class="status-row-<%= process.status %>">
|
5
|
+
<td>
|
6
|
+
<p>
|
7
|
+
<a href="<%= consumer_path(process.id, 'subscriptions') %>">
|
8
|
+
<%== truncate(process.id, strategy: :middle) %>
|
9
|
+
</a>
|
10
|
+
</p>
|
11
|
+
|
12
|
+
<p class="mt-1">
|
13
|
+
<%== partial 'consumers/assignments_badges', locals: { process: process } %>
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<p>
|
17
|
+
<%== tags(process.tags) %>
|
18
|
+
</p>
|
19
|
+
</td>
|
20
|
+
|
21
|
+
<td>
|
22
|
+
<%== relative_time process.started_at %>
|
23
|
+
</td>
|
24
|
+
|
25
|
+
<td>
|
26
|
+
<%== badge_primary_sm format_memory process.memory_usage %>
|
27
|
+
<%== badge_primary_sm format_memory process.memory_total_usage %>
|
28
|
+
<%== badge_primary_sm format_memory process.memory_size %>
|
29
|
+
</td>
|
30
|
+
|
31
|
+
<td>
|
32
|
+
<span class="badge badge-primary">
|
33
|
+
<%= process.utilization.round(1) %>%
|
34
|
+
</span>
|
35
|
+
<span class="badge badge-primary">
|
36
|
+
<%= process.workers %> /
|
37
|
+
<%= process.busy %>
|
38
|
+
</span>
|
39
|
+
</td>
|
40
|
+
|
41
|
+
<td>
|
42
|
+
<% process.cpu_usage.each do |metric| %>
|
43
|
+
<%== badge_primary_sm metric %>
|
44
|
+
<% end %>
|
45
|
+
</td>
|
46
|
+
|
47
|
+
<td>
|
48
|
+
<%= process.lag_hybrid %>
|
49
|
+
</td>
|
50
|
+
</tr>
|
@@ -1,71 +1,62 @@
|
|
1
1
|
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
2
|
<%# See LICENSE for details. %>
|
3
3
|
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</tr>
|
64
|
-
<% else %>
|
65
|
-
<%==
|
66
|
-
partial(
|
67
|
-
'consumers/incompatible',
|
68
|
-
locals: { colspan: 12, process: process }
|
69
|
-
)
|
70
|
-
%>
|
71
|
-
<% end %>
|
4
|
+
<tr class="status-row-<%= process.status %>">
|
5
|
+
<td>
|
6
|
+
<a href="<%= consumer_path(process.id, 'subscriptions') %>">
|
7
|
+
<%== truncate(process.id, strategy: :middle) %>
|
8
|
+
</a>
|
9
|
+
|
10
|
+
<p class="mt-1">
|
11
|
+
<%== tags(process.tags) %>
|
12
|
+
</p>
|
13
|
+
</td>
|
14
|
+
|
15
|
+
<td>
|
16
|
+
<%= format_memory process.memory_usage %>
|
17
|
+
</td>
|
18
|
+
|
19
|
+
<td>
|
20
|
+
<%= process.utilization.round(1) %>%
|
21
|
+
</td>
|
22
|
+
|
23
|
+
<td>
|
24
|
+
<%= process.threads %>
|
25
|
+
</td>
|
26
|
+
|
27
|
+
<td>
|
28
|
+
<%= process.cpu_usage[0].to_f %>
|
29
|
+
</td>
|
30
|
+
|
31
|
+
<td>
|
32
|
+
<%= process.cpu_usage[1].to_f %>
|
33
|
+
</td>
|
34
|
+
|
35
|
+
<td>
|
36
|
+
<%= process.cpu_usage[2].to_f %>
|
37
|
+
</td>
|
38
|
+
|
39
|
+
<td>
|
40
|
+
<%= process.workers %>
|
41
|
+
</td>
|
42
|
+
|
43
|
+
<td>
|
44
|
+
<%= process.busy %>
|
45
|
+
</td>
|
46
|
+
|
47
|
+
<td>
|
48
|
+
<%= process.listeners.fetch(:active) %>
|
49
|
+
</td>
|
50
|
+
|
51
|
+
<td>
|
52
|
+
<%= process.listeners.fetch(:standby) %>
|
53
|
+
</td>
|
54
|
+
|
55
|
+
<td>
|
56
|
+
<%= process.jobs.running.count %>
|
57
|
+
</td>
|
58
|
+
|
59
|
+
<td>
|
60
|
+
<%= process.jobs.pending.count %>
|
61
|
+
</td>
|
62
|
+
</tr>
|
@@ -1,107 +1,98 @@
|
|
1
1
|
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
2
|
<%# See LICENSE for details. %>
|
3
3
|
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
</a>
|
4
|
+
<tr class="status-row-<%= process.status %>">
|
5
|
+
<td>
|
6
|
+
<a href="<%= consumer_path(process.id, 'subscriptions') %>">
|
7
|
+
<%== truncate(process.id, strategy: :middle) %>
|
8
|
+
</a>
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
<p class="mt-1">
|
11
|
+
<%== tags(process.tags) %>
|
12
|
+
</p>
|
13
|
+
</td>
|
15
14
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
<td>
|
16
|
+
<div class="badge <%= status_badge(process.status) %>">
|
17
|
+
<%= process.status %>
|
18
|
+
</div>
|
19
|
+
</td>
|
21
20
|
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
<td>
|
22
|
+
<%== partial 'consumers/assignments_badges', locals: { process: process } %>
|
23
|
+
</td>
|
25
24
|
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
<td>
|
26
|
+
<%== relative_time process.started_at %>
|
27
|
+
</td>
|
29
28
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
<td>
|
30
|
+
<span class="badge badge-primary">
|
31
|
+
<%= format_memory process.memory_usage %>
|
32
|
+
</span>
|
33
|
+
</td>
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
35
|
+
<td>
|
36
|
+
<span class="badge badge-primary">
|
37
|
+
<%= process.utilization.round(1) %>%
|
38
|
+
</span>
|
39
|
+
<span class="badge badge-primary">
|
40
|
+
<%= process.workers %> /
|
41
|
+
<%= process.busy %>
|
42
|
+
</span>
|
43
|
+
</td>
|
45
44
|
|
46
|
-
|
47
|
-
|
48
|
-
|
45
|
+
<td>
|
46
|
+
<%= process.lag_hybrid %>
|
47
|
+
</td>
|
49
48
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
49
|
+
<td class="commands-inline-3">
|
50
|
+
<%
|
51
|
+
trace_path = consumers_path('commanding', process.id, 'trace')
|
52
|
+
disabled_class = process.status != 'stopped' ? '' : 'btn-disabled'
|
53
|
+
%>
|
54
|
+
<form action="<%= trace_path %>" method="post" class="inline" title="Trace">
|
55
|
+
<%== csrf_tag(trace_path) %>
|
57
56
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
57
|
+
<button type="submit" class="btn btn-info btn-sm btn-lockable <%= disabled_class %>">
|
58
|
+
<%== icon(:gear) %>
|
59
|
+
</button>
|
60
|
+
</form>
|
62
61
|
|
63
|
-
|
64
|
-
|
65
|
-
|
62
|
+
<%
|
63
|
+
quiet_path = consumers_path('commanding', process.id, 'quiet')
|
64
|
+
disabled_class = process.status == 'running' ? '' : 'btn-disabled'
|
66
65
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
66
|
+
if process.execution_mode == 'standalone'
|
67
|
+
title = 'Quiet'
|
68
|
+
else
|
69
|
+
disabled_class = 'btn-disabled'
|
70
|
+
title = 'Supported only in standalone consumer processes'
|
71
|
+
end
|
72
|
+
%>
|
73
|
+
<form action="<%= quiet_path %>" method="post" class="inline" title="<%= title %>">
|
74
|
+
<%== csrf_tag(quiet_path) %>
|
75
|
+
<button type="submit" class="btn btn-warning btn-sm btn-lockable <%= disabled_class %>">
|
76
|
+
<%== icon(:pause) %>
|
77
|
+
</button>
|
78
|
+
</form>
|
80
79
|
|
81
|
-
|
82
|
-
|
83
|
-
|
80
|
+
<%
|
81
|
+
stop_path = consumers_path('commanding', process.id, 'stop')
|
82
|
+
disabled_class = process.status != 'stopping' && process.status != 'stopped' ? '' : 'btn-disabled'
|
84
83
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<% else %>
|
101
|
-
<%==
|
102
|
-
partial(
|
103
|
-
'consumers/incompatible',
|
104
|
-
locals: { colspan: 7, process: process }
|
105
|
-
)
|
106
|
-
%>
|
107
|
-
<% end %>
|
84
|
+
if process.execution_mode == 'standalone'
|
85
|
+
title = 'Stop'
|
86
|
+
else
|
87
|
+
disabled_class = 'btn-disabled'
|
88
|
+
title = 'Supported only in standalone consumer processes'
|
89
|
+
end
|
90
|
+
%>
|
91
|
+
<form action="<%= stop_path %>" method="post" class="inline" title="<%= title %>">
|
92
|
+
<%== csrf_tag(stop_path) %>
|
93
|
+
<button type="submit" class="btn btn-error btn-sm btn-lockable <%= disabled_class %>">
|
94
|
+
<%== icon(:stop) %>
|
95
|
+
</button>
|
96
|
+
</form>
|
97
|
+
</td>
|
98
|
+
</tr>
|
@@ -1,51 +1,42 @@
|
|
1
1
|
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
2
|
<%# See LICENSE for details. %>
|
3
3
|
|
4
|
-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<
|
18
|
-
<code><%= job.consumer %></code>
|
4
|
+
<tr>
|
5
|
+
<td>
|
6
|
+
<a href="<%= consumer_path(job.process.id, 'subscriptions') %>">
|
7
|
+
<%== truncate(job.process.id, strategy: :middle) %>
|
8
|
+
</a>
|
9
|
+
</td>
|
10
|
+
<td>
|
11
|
+
<span class="badge badge-secondary" title="Consumer group: <%= job.consumer_group %>">
|
12
|
+
<%= job.topic %>:
|
13
|
+
<%= job.partition %>
|
14
|
+
</span>
|
15
|
+
</td>
|
16
|
+
<td>
|
17
|
+
<code><%= job.consumer %></code>
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
<% else %>
|
45
|
-
<%==
|
46
|
-
partial(
|
47
|
-
'consumers/incompatible',
|
48
|
-
locals: { colspan: 8, process: job.process }
|
49
|
-
)
|
50
|
-
%>
|
51
|
-
<% end %>
|
19
|
+
<% unless job.tags.empty? %>
|
20
|
+
<br/>
|
21
|
+
<%== tags(job.tags) %>
|
22
|
+
<% end %>
|
23
|
+
</td>
|
24
|
+
<td>
|
25
|
+
<code>#<%= job.type %></code>
|
26
|
+
</td>
|
27
|
+
<td>
|
28
|
+
<%= job.messages %>
|
29
|
+
</td>
|
30
|
+
<td>
|
31
|
+
<%== offset_with_label job.topic, job.partition, job.first_offset, explore: true %>
|
32
|
+
</td>
|
33
|
+
<td>
|
34
|
+
<%== offset_with_label job.topic, job.partition, job.last_offset, explore: true %>
|
35
|
+
</td>
|
36
|
+
<td>
|
37
|
+
<%== offset_with_label job.topic, job.partition, job.committed_offset %>
|
38
|
+
</td>
|
39
|
+
<td>
|
40
|
+
<%== relative_time job.updated_at %>
|
41
|
+
</td>
|
42
|
+
</tr>
|
@@ -29,14 +29,14 @@ module Karafka
|
|
29
29
|
|
30
30
|
raise ::Karafka::Web::Errors::Processing::IncompatibleSchemaError
|
31
31
|
# Older reports mean someone is in the middle of upgrade. Schema change related
|
32
|
-
# upgrades always should happen without a rolling-upgrade,
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
# In case user wants to do a rolling upgrade, the user docs state that this can happen
|
38
|
-
# and it is something user should be aware
|
32
|
+
# upgrades always should happen without a rolling-upgrade. For such, since we cannot
|
33
|
+
# reason about their statistics structure, we only track state, so we can provide
|
34
|
+
# basic upgrade reporting details in the status page. All other data is rejected and
|
35
|
+
# since in most cases this is intermediate due to rolling upgrades, this should not
|
36
|
+
# significantly impact the state tracking and processing.
|
39
37
|
when :older
|
38
|
+
@state_aggregator.add_state(message.payload, message.offset)
|
39
|
+
|
40
40
|
next
|
41
41
|
else
|
42
42
|
raise ::Karafka::Errors::UnsupportedCaseError
|