karafka-web 0.11.0 → 0.11.1
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 +3 -0
- data/Gemfile.lock +3 -13
- data/lib/karafka/web/tracking/consumers/reporter.rb +6 -2
- data/lib/karafka/web/tracking/producers/reporter.rb +4 -2
- data/lib/karafka/web/version.rb +1 -1
- data/package-lock.json +4 -4
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb9cef529c70e9f643eef6d7d8e70022ddd99fcf2909d40c350d1948bc50dc8f
|
4
|
+
data.tar.gz: '02795dbd46f18bba63aadc8ccdd95910e183f0df5a8147ab8ac897c6e4a85623'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21559bfd9b8d66872b6499823feec8c34ad7827a36ca5c7170d2a37d74dc2ffbc11ffc109c65cf7c7a6b5e2a70e1493a585cfbd550779f7b21077c62f2b8de8a
|
7
|
+
data.tar.gz: a6fc4f1592472218556b82c6a5cd3cf0b4a5acc2d1db6546245a5eaab8a7d3d81733f9cea7d9e344e919793e05768da5f5d6f516158559ffc6ef6a9939d0a76f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Karafka Web Changelog
|
2
2
|
|
3
|
+
## 0.11.1 (2025-06-23)
|
4
|
+
- [Fix] Extremely high error turnover from hundreds of partitions can cause a deadlock in the reporter for transactional Web producer.
|
5
|
+
|
3
6
|
## 0.11.0 (2025-06-15)
|
4
7
|
- **[Feature]** Provide ability to pause/resume partitions on running consumers via the UI (Pro).
|
5
8
|
- **[Feature]** Provide ability to edit offsets of running consumers (Pro).
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-web (0.11.
|
4
|
+
karafka-web (0.11.1)
|
5
5
|
erubi (~> 1.4)
|
6
6
|
karafka (>= 2.5.0.rc2, < 2.6.0)
|
7
7
|
karafka-core (>= 2.5.0, < 2.6.0)
|
@@ -38,22 +38,12 @@ GEM
|
|
38
38
|
factory_bot (6.5.4)
|
39
39
|
activesupport (>= 6.1.0)
|
40
40
|
ffi (1.17.2)
|
41
|
-
ffi (1.17.2-aarch64-linux-gnu)
|
42
|
-
ffi (1.17.2-aarch64-linux-musl)
|
43
|
-
ffi (1.17.2-arm-linux-gnu)
|
44
|
-
ffi (1.17.2-arm-linux-musl)
|
45
|
-
ffi (1.17.2-arm64-darwin)
|
46
|
-
ffi (1.17.2-x86-linux-gnu)
|
47
|
-
ffi (1.17.2-x86-linux-musl)
|
48
|
-
ffi (1.17.2-x86_64-darwin)
|
49
|
-
ffi (1.17.2-x86_64-linux-gnu)
|
50
|
-
ffi (1.17.2-x86_64-linux-musl)
|
51
41
|
fugit (1.11.1)
|
52
42
|
et-orbi (~> 1, >= 1.2.11)
|
53
43
|
raabro (~> 1.4)
|
54
44
|
i18n (1.14.7)
|
55
45
|
concurrent-ruby (~> 1.0)
|
56
|
-
karafka (2.5.0
|
46
|
+
karafka (2.5.0)
|
57
47
|
base64 (~> 0.2)
|
58
48
|
karafka-core (>= 2.5.2, < 2.6.0)
|
59
49
|
karafka-rdkafka (>= 0.19.5)
|
@@ -88,7 +78,7 @@ GEM
|
|
88
78
|
racc (~> 1.4)
|
89
79
|
nokogiri (1.18.8-x86_64-linux-musl)
|
90
80
|
racc (~> 1.4)
|
91
|
-
ostruct (0.6.
|
81
|
+
ostruct (0.6.2)
|
92
82
|
raabro (1.4.0)
|
93
83
|
racc (1.8.1)
|
94
84
|
rack (3.1.15)
|
@@ -49,6 +49,10 @@ module Karafka
|
|
49
49
|
# block during this time
|
50
50
|
sampler.sample
|
51
51
|
|
52
|
+
messages = nil
|
53
|
+
|
54
|
+
# We aggregate all the data behind a mutex to make sure, we do not corrupt the already
|
55
|
+
# aggregated data in a different thread
|
52
56
|
MUTEX.synchronize do
|
53
57
|
return unless report?(forced)
|
54
58
|
|
@@ -84,12 +88,12 @@ module Karafka
|
|
84
88
|
}
|
85
89
|
end
|
86
90
|
|
87
|
-
produce(messages)
|
88
|
-
|
89
91
|
# Clear the sampler so it tracks new state changes without previous once impacting
|
90
92
|
# the data
|
91
93
|
sampler.clear
|
92
94
|
end
|
95
|
+
|
96
|
+
produce(messages)
|
93
97
|
end
|
94
98
|
|
95
99
|
# Reports bypassing frequency check. This can be used to report when state changes in the
|
@@ -23,6 +23,8 @@ module Karafka
|
|
23
23
|
|
24
24
|
# Dispatches the current state from sampler to appropriate topics
|
25
25
|
def report
|
26
|
+
messages = nil
|
27
|
+
|
26
28
|
MUTEX.synchronize do
|
27
29
|
return unless report?
|
28
30
|
|
@@ -42,12 +44,12 @@ module Karafka
|
|
42
44
|
|
43
45
|
return if messages.empty?
|
44
46
|
|
45
|
-
produce(messages)
|
46
|
-
|
47
47
|
# Clear the sampler so it tracks new state changes without previous once impacting
|
48
48
|
# the data
|
49
49
|
sampler.clear
|
50
50
|
end
|
51
|
+
|
52
|
+
produce(messages)
|
51
53
|
end
|
52
54
|
|
53
55
|
private
|
data/lib/karafka/web/version.rb
CHANGED
data/package-lock.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"gulp-concat": "^2.6.1",
|
12
12
|
"gulp-sourcemaps": "^3.0.0",
|
13
13
|
"gulp-uglify": "^3.0.2",
|
14
|
-
"postcss": "^8.5.
|
14
|
+
"postcss": "^8.5.6",
|
15
15
|
"postcss-cli": "^11.0.1",
|
16
16
|
"tailwindcss": "^4.1.10",
|
17
17
|
"through2": "^4.0.2"
|
@@ -2759,9 +2759,9 @@
|
|
2759
2759
|
}
|
2760
2760
|
},
|
2761
2761
|
"node_modules/postcss": {
|
2762
|
-
"version": "8.5.
|
2763
|
-
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.
|
2764
|
-
"integrity": "sha512-
|
2762
|
+
"version": "8.5.6",
|
2763
|
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
|
2764
|
+
"integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
|
2765
2765
|
"dev": true,
|
2766
2766
|
"funding": [
|
2767
2767
|
{
|
data/package.json
CHANGED