-
Notifications
You must be signed in to change notification settings - Fork 37
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
Replace statefulMapConcat
with statefulMap
+ mapConcat
in codebase
#395
Comments
also found in pekko-connectors |
Thanks, issue created at apache/pekko-connectors#307 |
#311 was merged already but a quick search indicates that we might still have 1 or 2 remaining uses. |
I did a check seems there are no usage now. @pjfanning , the only lefts are in scaladoc and benchmarks |
This might have performance implications (mapConcat had performance issues in the past) so make sure to benchmark before doing these changes. |
This was deprecated in apache/pekko#601 - if we think deprecating the code was a mistake then we can reopen that discussion. If we think it was the right decision to deprecate statefulMapConcat, then we should start removing its usage. |
I like the change from an API orthogonality perspective, just saying that it might not come for free. In the worst case, it could be possible to keep a copy in StreamUtils, but better if that is not needed. |
I think this issue can be closed as the associated change has been one. in #311. Or we can do some dedicated implementation just for pekko-http usage in |
The current |
@jrudolph I will review the changes and try to come up with an allocation-free implementation in pekko-http. |
I'm going to close this because we undeprecated statefulMapConcat. Feel free to reopen. |
As the title suggests,
statefulMapConcat
is deprecated so it should replaced withstatefulMap
+mapConcat
so that the 1.1.0 version of pekko-http isn't relying on deprecated pekko methods.The text was updated successfully, but these errors were encountered: