Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi out support as non-public API #780

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

ennru
Copy link
Member

@ennru ennru commented Oct 12, 2020

This is a minimal variant of #773 and does not offer multi-out flows or sinks to the public Akka Streamlet API but fixes the Splitter API to guarantee at-least-once.

  • Introduce a MultiData2 type which serves as a tuple of sequences. The idea is that such a type would make the Java API and the Scala API more uniform.

  • Introduce MultiProducer (as internal API) which produces to two outlets in parallel and ensures proper committing after all elements are produced.


jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@master
- uses: actions/labeler@main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have no main (yet)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mentioned it is not working great, should we remove, or does this fix things?

@RayRoestenburg RayRoestenburg merged commit 26c2113 into lightbend:master Oct 15, 2020
@ennru ennru deleted the multi-out branch November 2, 2020 07:38
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.

2 participants