Commit cdee941
[!463] - Feature/580 upgrade akka in order to be compatible with java 17
# New features and improvements
Change the Akka version to be compatible with Java 17.
List of dependency updates:
- akka = "2.6.21"
- akkaHttp = "10.2.10"
- typesafeConfig = "1.4.2"
- akkaKryo = "1.1.5"
New dependency: akka-cluster-metrics
Removed dependency: akka-contrib
Change akkaKryo
from: "**com.github.romix.akka**" %% "akka-kryo-serialization"
to: "**io.altoo**" %% "akka-kryo-serialization"
Akka Remoting has a new behavior called Artery, but we keep the **classic** behavior in this feature.
# Breaking changes
- Scala 2.11 is no longer supported
- Prefix serializer "com.romix.akka.serialization.*" in configs not working anymore
- Akka Remoting has a new behavior called Artery, so the configuration akka.remote.* is not working anymore, and also artery is enabled by default
# Migration
Applications using this WASP version should pay attention to configuration changes.
- New prefix serializer: io.altoo.akka.serialization.*
- akka.remote configuration changes needed:
- akka.remote.artery.enabled = false
- other akka.remote.* configs must be changed to akka.remote.classic.*
For other clarification, here are the Akka migration guides:
- https://doc.akka.io/libraries/akka-core/2.5/project/migration-guide-2.4.x-2.5.x.html
- https://doc.akka.io/libraries/akka-core/2.6/project/migration-guide-2.5.x-2.6.x.html
# Bug fixes
none
# How this feature was tested
Unit test
# Related issue
Closes #5801 parent 02e1d9c commit cdee941
File tree
35 files changed
+376
-429
lines changed- consumers-spark/src
- main
- resources
- scala/it/agilelab/bigdata/wasp/consumers/spark/streaming/actor
- master
- pipegraph
- telemetry
- watchdog
- test
- resources
- scala/it/agilelab/bigdata/wasp/consumers/spark/streaming/actor
- master
- pipegraph
- core/src/main
- resources
- scala/it/agilelab/bigdata/wasp/core
- cluster
- kafka
- master/src/main/scala/it/agilelab/bigdata/wasp/master
- launcher
- security
- web/controllers
- nifi-client/src/main/scala/sttp/client/akkahttp
- openshift
- batch
- master
- producers
- streaming
- plugin-elastic-spark/src/main/scala/it/agilelab/bigdata/wasp/consumers/spark/plugins/elastic
- plugin-solr-spark/src/main/scala/it/agilelab/bigdata/wasp/consumers/spark/plugins/solr
- producers/src
- main
- resources
- scala/it/agilelab/bigdata/wasp/producers
- metrics/kafka/backlog
- test/scala/it/agilelab/bigdata/wasp/producers/metrics/kafka
- backlog
- throughput
- project
- whitelabel/producers/src/main/scala/it/agilelab/bigdata/wasp/whitelabel/producers
35 files changed
+376
-429
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
457 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | | - | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
106 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
107 | 82 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 83 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
178 | 87 | | |
| 88 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments