Skip to content

Feat: Add quorum support to rabbitmq driver#66

Open
Chr1s70ph wants to merge 11 commits intoopenmessaging:masterfrom
Chr1s70ph:master
Open

Feat: Add quorum support to rabbitmq driver#66
Chr1s70ph wants to merge 11 commits intoopenmessaging:masterfrom
Chr1s70ph:master

Conversation

@Chr1s70ph
Copy link

What this PR includes:

Adds quorum support to the rabbitmq-driver.

Though already partially implemented, the current implementation did have some major bugs, which prevented it from working.

Fixes old docker environment

The Debian stretch repositories are no longer online and thus the docker containers can no longer install packages. Updating to Debian sid is the only option, since its the only version that still has the openjdk-8-jdk in their repositories by default.

Implements delivery time measurements

The data from the rabbitmq tests was incomparable to the other drivers results, since it did not include a response time from the server, simply the time it took to send a message. Weather that package was actually received or even left the host was not checked and thus did yield incorrect results.

Fixes some style tests

When running mvn clean install there were some small issues with coding style (namely variable naming), which have also been fixed in this PR.

Skipped the SSH test

In the SSH test, there is a hard coded IP address as well as hard coded credentials. This test does not work, since the host is no longer reachable. Since I deemed it out of scope for this PR to fix this test I just disabled it for this PR.

Note: I never did any Java development, if I broke some common Java conventions or you have any improvements you would like me to add, please feel free to reach out in the comments of this PR.

fix: database might still hold data after a restart
fix: driver did not work with docker environment
fix: epmd not running, so rabbitmq could not start
chore: refactor for better readability
chore: update rabbitmq version to 4.2.3
the current implementation did simply not work.
update nodes to represent docker hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant