-
Notifications
You must be signed in to change notification settings - Fork 21
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
FlowWithContext #83
Conversation
All right, this PR is finally ready for review. And this is going to be last not-transactional stage implemented for this project. Cool :) |
Thanks @IgorFedchenko - I'll review all three of these today. |
@IgorFedchenko looks like a |
{ | ||
public static class FlowExtensions | ||
{ | ||
// TODO: Move this to Akka.Streams core library |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aaronontheweb Added PR: akkadotnet/akka.net#4023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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 (likeCommuttableSink
orPlainSink
) are based onFlexiFlow
. This includes support of publishing several types of messages (SingleMessage
,MultiMessage
, and pseudo-publishedPassThroughMessage
) instead of singleMessageAndMeta
message (which was almost the same asSingleMessage
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.