kapua
kapua copied to clipboard
Move to Artemis as message broker
Brief description of the PR. This pr replaces the ActiveMQ with ActiveMQ Artemis broker
Related Issue none
Description of the solution adopted The broker is replaced, the authentication logic is moved outside to a new service consumer (authentication service). The broker plugins and the code deployed inside the broker are very light now, just a tiny layer to adapt broker objects to those used by the external authentication service. The authentication service is built on top of Spring Boot and Camel. The communication between broker and authentication service is done through messaging system (AMQP). The current configuration uses the "event broker" as "service broker" but it can be customized to use whetever AMQP service the user likes.
Screenshots none
Any side note on the changes made This pr has a lot of impacts in several part of the application
Codecov Report
Merging #3599 (2df0f2e) into feature-artemis (285604c) will decrease coverage by
9.48%
. The diff coverage is1.10%
.
:exclamation: Current head 2df0f2e differs from pull request most recent head 08c0e67. Consider uploading reports for the commit 08c0e67 to get more accurate results
@@ Coverage Diff @@
## feature-artemis #3599 +/- ##
=====================================================
- Coverage 49.99% 40.50% -9.49%
+ Complexity 259 234 -25
=====================================================
Files 1686 1652 -34
Lines 32165 32810 +645
Branches 2642 2672 +30
=====================================================
- Hits 16080 13290 -2790
- Misses 15147 18722 +3575
+ Partials 938 798 -140
Impacted Files | Coverage Δ | |
---|---|---|
.../broker/artemis/plugin/security/PluginUtility.java | 0.00% <0.00%> (ø) |
|
...ua/broker/artemis/plugin/security/RunWithLock.java | 0.00% <0.00%> (ø) |
|
...broker/artemis/plugin/security/SecurityPlugin.java | 0.00% <0.00%> (ø) |
|
.../broker/artemis/plugin/security/ServerContext.java | 0.00% <0.00%> (ø) |
|
...a/broker/artemis/plugin/security/ServerPlugin.java | 0.00% <0.00%> (ø) |
|
...mis/plugin/security/connector/AcceptorHandler.java | 0.00% <0.00%> (ø) |
|
...ua/broker/artemis/plugin/security/context/Acl.java | 0.00% <0.00%> (ø) |
|
...temis/plugin/security/context/ConnectionToken.java | 0.00% <0.00%> (ø) |
|
...temis/plugin/security/context/SecurityContext.java | 0.00% <0.00%> (ø) |
|
...ker/artemis/plugin/security/event/BrokerEvent.java | 0.00% <0.00%> (ø) |
|
... and 346 more |
/request-license-review
/request-license-review
License review requests:
- maven/mavencentral/org.apache.activemq/activemq-branding/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-quorum-ri/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-hqclient-protocol/2.19.0
- maven/mavencentral/org.jboss.logging/jboss-logging-processor/2.2.0.Final
- maven/mavencentral/org.jboss.slf4j/slf4j-jboss-logmanager/1.0.4.GA
- maven/mavencentral/org.apache.activemq/artemis-spring-integration/2.19.0
- maven/mavencentral/org.apache.activemq/activemq-artemis-native/1.0.2
- maven/mavencentral/org.apache.activemq/artemis-web/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-amqp-protocol/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-mqtt-protocol/2.19.0
- maven/mavencentral/org.apache.curator/curator-framework/5.2.0
- maven/mavencentral/org.apache.activemq/artemis-console/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-stomp-protocol/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-openwire-protocol/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-journal/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-junit/2.19.0
- maven/mavencentral/org.apache.activemq.rest/artemis-rest/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-jakarta-client-all/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-jdbc-store/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-dto/2.19.0
- maven/mavencentral/org.apache.curator/curator-client/5.2.0
- maven/mavencentral/org.apache.qpid/qpid-jms-client/0.59.0
- maven/mavencentral/org.jboss.jdeparser/jdeparser/2.0.3.Final
- maven/mavencentral/org.apache.activemq/artemis-hornetq-protocol/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-plugin/2.19.0
- maven/mavencentral/org.apache.curator/curator-recipes/5.2.0
- maven/mavencentral/org.apache.activemq/artemis-ra/2.19.0
- maven/mavencentral/org.apache.activemq/apache-artemis/2.19.0
- maven/mavencentral/org.apache.activemq/artemis-jms-client-all/2.19.0
After all reviews have concluded, re-run the license-vetting check from the Github Actions web-interface to update its status.
Workflow run (with attached summary files): https://github.com/eclipse/kapua/actions/runs/3142464313