smallrye-reactive-messaging
smallrye-reactive-messaging copied to clipboard
Mutiny 2.0 with Flow support
Mutiny 2.0.0 is based on java.util.concurrent.Flow interfaces instead of Reactive Streams APIs. This change bumps mutiny to 2.0.0 along with supporting Flow interfaces on method and channel types.
- [x] Needs more tests for support of Flow interfaces
- [x] Replace usages of
via(Processor)
with an alternative - [ ] Bump to Mutiny 2.0.0 final
Codecov Report
Merging #1896 (ed3446d) into main (928a739) will decrease coverage by
19.94%
. The diff coverage is74.40%
.
:exclamation: Current head ed3446d differs from pull request most recent head d18181d. Consider uploading reports for the commit d18181d to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #1896 +/- ##
=============================================
- Coverage 77.02% 57.08% -19.94%
+ Complexity 3462 2667 -795
=============================================
Files 288 288
Lines 11680 11767 +87
Branches 1493 1510 +17
=============================================
- Hits 8996 6717 -2279
- Misses 1986 4598 +2612
+ Partials 698 452 -246
Impacted Files | Coverage Δ | |
---|---|---|
...lrye/reactive/messaging/MediatorConfiguration.java | 0.00% <ø> (ø) |
|
...mallrye/reactive/messaging/amqp/AmqpConnector.java | 0.00% <0.00%> (-82.56%) |
:arrow_down: |
...reactive/messaging/amqp/AmqpCreditBasedSender.java | 0.00% <ø> (-75.00%) |
:arrow_down: |
...reactive/messaging/gcp/pubsub/PubSubConnector.java | 0.00% <0.00%> (-41.56%) |
:arrow_down: |
...e/reactive/messaging/memory/InMemoryConnector.java | 0.00% <0.00%> (-87.96%) |
:arrow_down: |
...llrye/reactive/messaging/kafka/KafkaConnector.java | 88.54% <ø> (ø) |
|
...ging/kafka/impl/KafkaRecordStreamSubscription.java | 81.10% <ø> (+0.78%) |
:arrow_up: |
...ive/messaging/kafka/impl/KafkaSenderProcessor.java | 75.47% <ø> (ø) |
|
...llrye/reactive/messaging/kafka/impl/KafkaSink.java | 92.81% <ø> (ø) |
|
...mallrye/reactive/messaging/mqtt/MqttConnector.java | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
... and 110 more |
@jponge @cescoffier please take a look at this, I think it is ready to go.
Fantastic @ozangunalp. Looking at the code it looks ok, I'm going to run some local tests.
I ran a few tests with this branch and the drafts from https://github.com/jponge/quarkus/tree/scratchpad/rs-publisher-to-flow, and it seems to work great.
First time with a flow-ified Quarkus that compiles and seems to pass common extensions tests 🎉
What's next folks?
I eventually need a -milestone1
release of RM so I can align milestones across projects and draft a proper Quarkus PR to run checks (and eventually plan final releases up to Quarkus).
I can release an RC today on top of this branch.
It's a breaking change BTW, so you might need to branch a maintenance branch (we did this for Mutiny / Vert.x bindings, etc)
Yes, this might be considered a major breaking change, even though we still support the same signatures.
I am thinking more about how to manage this with jakarta release, which will be 4.0.0. Should this release be 5.0.0 when merged ? wdyt @cescoffier ?
Yes, it should be 5.0.
4.0?
On Fri, Sep 30, 2022 at 8:06 PM Clement Escoffier @.***> wrote:
Yes, it should be 5.0.
— Reply to this email directly, view it on GitHub https://github.com/smallrye/smallrye-reactive-messaging/pull/1896#issuecomment-1263868453, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGK2OKJVT7MZTDEVEU743WA4T3HANCNFSM6AAAAAAQOKMHQY . You are receiving this because you were mentioned.Message ID: @.***>
We've been using 4 for Jakarta and will release a final next week for Wildly.
I think the next step is to have a -milestone1 for the next major release, so we can start to align milestones and open a draft PR for CI in Quarkus. We might spot other issues there.
Rebased to 635990c3a34e723b9f189c8a06f8a1e4ba21d108
I did a run yesterday in Quarkus CI land of our various milestones / release candidates. We can go ahead and make progress, no issue on the Quarkus code base itself 👍
Rebased to fea0a41a0c686fcc596fd16d96cd1331425ad4e1 – 3.22.0 release
Rebased to 853cb811d80751df464efb704519ad0f65bcaf8e @jponge
Great!
@cescoffier ready to merge this!
@ozangunalp there is a conflict :-D
But yes, let's merge it.
🥳
On Mon, Feb 6, 2023 at 5:13 PM Clement Escoffier @.***> wrote:
@ozangunalp https://github.com/ozangunalp there is a conflict :-D
But yes, let's merge it.
— Reply to this email directly, view it on GitHub https://github.com/smallrye/smallrye-reactive-messaging/pull/1896#issuecomment-1419342589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGK2M3TWOUMIONGKUEEHLWWEPJNANCNFSM6AAAAAAQOKMHQY . You are receiving this because you were mentioned.Message ID: @.***>
:D ok after the rebase