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

Lazy source and flow #1557

Merged
merged 1 commit into from
Mar 7, 2019
Merged

Lazy source and flow #1557

merged 1 commit into from
Mar 7, 2019

Conversation

huntc
Copy link
Contributor

@huntc huntc commented Mar 5, 2019

The binding and connection flows were not living up to their contract whereupon they should be re-usable. This PR fixes that.

The PR has been inspired by the findings of Lunfu Zhong (@zhongl) and his PR: #1552.

@huntc huntc changed the title Lazy source flow Lazy source and flow Mar 5, 2019
@2m
Copy link
Member

2m commented Mar 5, 2019

The origin PR has been merged. This now needs a rebase.

@huntc huntc marked this pull request as ready for review March 7, 2019 00:48
@huntc
Copy link
Contributor Author

huntc commented Mar 7, 2019

@2m Rebased.

@zhongl
Copy link

zhongl commented Mar 7, 2019

@ennru - I think p:unix-domain-socket would be better than p:mqtt-streaming for this issue. WDYT?

@2m
Copy link
Member

2m commented Mar 7, 2019

Change LGTM. The formatter needs to be ran so Travis is pleased. Also Scala 2.11 needs to be pleased as well where flatten is not available. Instead use flatMap(identity).

The binding and connection flows were not living up to their contract whereupon they should be re-usable. This commit fixes that.
@huntc
Copy link
Contributor Author

huntc commented Mar 7, 2019

I'm unsure what you're referring to re. the formatter... I see that https://travis-ci.org/akka/alpakka/jobs/502859776 failed, but not because of formatting.

I've replaced flatten. Thanks.

@2m
Copy link
Member

2m commented Mar 7, 2019

Sorry, did not into why the formatter job has failed. Thats right, only Scala 2.11 fix needed here.

@huntc
Copy link
Contributor Author

huntc commented Mar 7, 2019

No probs. 2.11 should now be happy.

@2m 2m added this to the 1.0-M4/RC1 milestone Mar 7, 2019
Copy link
Member

@2m 2m left a comment

Choose a reason for hiding this comment

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

LGTM

@2m 2m merged commit 0dffd07 into akka:master Mar 7, 2019
@huntc huntc deleted the lazy-source-flow branch March 8, 2019 01:11
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