Skip to content

FlowWithContext #83

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

Merged
merged 8 commits into from
Nov 5, 2019
Merged

Conversation

IgorFedchenko
Copy link
Contributor

As a part of issue #36 , this PR is going to implement FlowWithContext.

This flow usually used with any of the sources, that support context, to produce new records to kafka while keeping context info.

Besides the work on this new flow, FlexiFlow is implemented as a core flow of producer flows and sinks. All other sinks/flows (like CommuttableSink or PlainSink) are based on FlexiFlow. This includes support of publishing several types of messages (SingleMessage, MultiMessage, and pseudo-published PassThroughMessage) instead of single MessageAndMeta message (which was almost the same as SingleMessage but without context passing support).

So, after this PR merged publishers code base is going to me much closed to alpakka implementation. That will help adding features and support existing ones.

P.S. PR is in draft state because test is still failing - some issues with graph execution task awaiting.

@IgorFedchenko
Copy link
Contributor Author

All right, this PR is finally ready for review.

And this is going to be last not-transactional stage implemented for this project. Cool :)

@IgorFedchenko IgorFedchenko marked this pull request as ready for review October 28, 2019 15:05
@Aaronontheweb
Copy link
Member

Thanks @IgorFedchenko - I'll review all three of these today.

@Aaronontheweb
Copy link
Member

@IgorFedchenko looks like a ValueTuple-related build problem on this one too

{
public static class FlowExtensions
{
// TODO: Move this to Akka.Streams core library
Copy link
Member

Choose a reason for hiding this comment

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

Can you open a PR to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@Aaronontheweb Aaronontheweb merged commit ed5dab8 into akkadotnet:dev Nov 5, 2019
@IgorFedchenko IgorFedchenko deleted the flow-with-context branch November 15, 2019 13: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