Skip to content

Upgrade to cats-effect, fs2 3.0.0-M3 builds#80

Open
Daenyth wants to merge 3 commits into
masterfrom
cats-3
Open

Upgrade to cats-effect, fs2 3.0.0-M3 builds#80
Daenyth wants to merge 3 commits into
masterfrom
cats-3

Conversation

@Daenyth

@Daenyth Daenyth commented Oct 8, 2020

Copy link
Copy Markdown
Contributor

This adds some minor api cleanup as well. It shouldn't affect anyone downstream too badly, I think

@Daenyth
Daenyth force-pushed the cats-3 branch 4 times, most recently from f19caed to 5d5983e Compare October 8, 2020 14:22
@Daenyth
Daenyth marked this pull request as ready for review October 10, 2020 14:07
Comment thread streamz-converter/src/main/scala/streamz/converter/Converter.scala Outdated
@Daenyth Daenyth changed the title Upgrade to cats-effect, fs2 3.0.0-M1 builds Upgrade to cats-effect, fs2 3.0.0-M3 builds Nov 21, 2020
@Daenyth

Daenyth commented Nov 23, 2020

Copy link
Copy Markdown
Contributor Author

I think at this point the main unresolved question is whether CE3 will recommend using Dispatcher as an implicit. Currently it's not really set up for that, but it makes this code clearer to do so. But if the library instructs people to pass it explicitly, I'll want to change the signatures or do the api change like I was thinking earlier

@Daenyth

Daenyth commented Nov 23, 2020

Copy link
Copy Markdown
Contributor Author

recommendation from CE team is to create locally, it's cheap

https://gitter.im/typelevel/cats-effect-dev?at=5fbbc54afe857d71dc8dad83

Edit: that won't work, as I don't think changing the signature to return F[akka.streams.Source] etc is acceptable. So we will have to take it as an argument

@kubukoz

kubukoz commented Mar 14, 2021

Copy link
Copy Markdown
Contributor

WDYT about wrapping all ops in a trait and creating a dispatcher as part of that? Then all the methods inside could hopefully return raw streams/sinks (with no constraints, which is a good thing anyway)?

@Daenyth

Daenyth commented Mar 15, 2021

Copy link
Copy Markdown
Contributor Author

I think it's reasonable, but I wasn't sure. Some thoughts in #84

@Swoorup

Swoorup commented Jun 9, 2021

Copy link
Copy Markdown

Anything that is blocking this currently? I have been using @Daenyth code is isolation. Seems to do solve my issue since I am using CE3.

@Daenyth

Daenyth commented Jun 9, 2021

Copy link
Copy Markdown
Contributor Author

I haven't had time to work on this lately, and I'm no longer using it at work.

I'd say this is probably "good enough" to push just to have something out, but I don't have bandwidth to roll it out

Upgrade to fs2 3.2.4 and cats-effect 3.3.1
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.

5 participants