Skip to content

Commit bfaede3

Browse files
committed
Rationalize thread pool executor usage
4 thread pools: - executor service for internal tasks (e.g. run connection recovery) - scheduled executor service for internal scheduled tasks (e.g. schedule a connection retry) - publisher executor service to poll settlement futures - consumer executor service to poll receivers The tasks to run are different in nature, it explains the different executor services to configure. The library uses sensible defaults (e.g virtual threads if available for the publisher executor service, where there is a short task for each message; platform threads for the consumer executor, where tasks are long-running). Virtual threads do not seem appropriate for long-running tasks, especially when testing against cluster rolling restart.
1 parent 5b6c1ee commit bfaede3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

0.1.0-SNAPSHOT/htmlsingle/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@
655655
<h1>RabbitMQ AMQP 1.0 Java Client</h1>
656656
<div class="details">
657657
<span id="revnumber">version 0.1.0-SNAPSHOT</span>
658-
<br><span id="revremark">(94e0f5b)</span>
658+
<br><span id="revremark">(dfbeab2)</span>
659659
</div>
660660
<div id="toc" class="toc2">
661661
<div id="toctitle">Table of Contents</div>
@@ -2213,7 +2213,7 @@ <h4 id="observability-metrics-publish-observation"><a class="anchor" href="#obse
22132213
<div id="footer">
22142214
<div id="footer-text">
22152215
Version 0.1.0-SNAPSHOT<br>
2216-
Last updated 2024-09-05 06:53:26 UTC
2216+
Last updated 2024-09-05 09:06:19 UTC
22172217
</div>
22182218
</div>
22192219
</body>

snapshot/htmlsingle/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@
655655
<h1>RabbitMQ AMQP 1.0 Java Client</h1>
656656
<div class="details">
657657
<span id="revnumber">version 0.1.0-SNAPSHOT</span>
658-
<br><span id="revremark">(94e0f5b)</span>
658+
<br><span id="revremark">(dfbeab2)</span>
659659
</div>
660660
<div id="toc" class="toc2">
661661
<div id="toctitle">Table of Contents</div>
@@ -2213,7 +2213,7 @@ <h4 id="observability-metrics-publish-observation"><a class="anchor" href="#obse
22132213
<div id="footer">
22142214
<div id="footer-text">
22152215
Version 0.1.0-SNAPSHOT<br>
2216-
Last updated 2024-09-05 06:53:26 UTC
2216+
Last updated 2024-09-05 09:06:19 UTC
22172217
</div>
22182218
</div>
22192219
</body>

0 commit comments

Comments
 (0)