After looking more into Quasar, I remembered that it was not best practice to block in a Fiber. I was doing that when I used the java.u.c.CountDownLatch in some of the kafka producer tests.
It obviously was not a big deal since it was just a test. But it was straightforward to convert the tests to use the adapted suspendable phaser.
After looking more into Quasar, I remembered that it was not best practice to block in a Fiber. I was doing that when I used the java.u.c.CountDownLatch in some of the kafka producer tests.
It obviously was not a big deal since it was just a test. But it was straightforward to convert the tests to use the adapted suspendable phaser.