Skip to content

Conversation

@bc-tayvs
Copy link

Made subscriber and publisher package private. In case when you need custom approach or just client

Issue

Made subscriber and publisher package private. In case when you need custom approach or just client
@lightbend-cla-validator

Hi @bc-tayvs,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

https://www.lightbend.com/contribute/cla

Copy link
Contributor

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

looks like a nice convenience

}

private def publisher(mat: Materializer, attr: Attributes) =
@ApiMayChange
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not supposed to be public user facing API? Then they should be marked with @InternalApi instead.

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 they should be left private, or if I'm missing a use case, please describe it a bit.

*
* @param parallelism controls how many messages can be in-flight at any given time
*/
def publishWithContext[Ctx](parallelism: Int): FlowWithContext[PublishRequest, Ctx, PublishResponse, Ctx, NotUsed] =
Copy link
Contributor

Choose a reason for hiding this comment

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

no corresponding in javadsl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants