Multi Distinguishing Unique and Duplicate Items. #1620
Answered
by
jponge
prakashelango
asked this question in
Q&A
-
I would like to identify duplicate and unique items separately and go through a different workflow.
|
Beta Was this translation helpful? Give feedback.
Answered by
jponge
Jun 11, 2024
Replies: 1 comment 3 replies
-
The distinct operator does eliminate duplicates, hence what you see is expected. If you want to create a custom operator, see https://github.com/smallrye/smallrye-mutiny/blob/main/workshop-examples/src/main/java/_08_misc/_01_Multi_Custom_Operator.java and the Note that it will be your own duty to make sure that the operator respects the Reactive Streams protocol. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
downstream
reference to send items whenever you wantjava.util.stream
provides everything you need for CPU-bound stream processing)