Closed pjfanning closed 1 year ago
@mdedetrich this issue is about possibly using LazyList again
@mdedetrich this issue is about possibly using LazyList again
Ah I see
One thing I want to mention is that the usage of Stream
/LazyList
in the first place might be an oversight since Pekko provides its own way to generate a stream of values.
In other words we might be able to just use Source.repeat
instead of Stream
/LazyList.continuously
. Ontop of this Stream
/LazyList.continuously
is only being used in tests and the only non test code that uses Stream
/LazyList.continuously
is in S3Stream
functions that are deprecated.
@mdedetrich Fair enough. I'm not treating this as an issue with any urgency. It might be best to leave it open for further discussion but I don't intend to make any changes myself based on what you said about the usage.
@pjfanning So it took me 10 minutes to do what I suggested, PR is already open (see https://github.com/apache/incubator-pekko-connectors/pull/74).
As part of reintroducing Scala 2.12 support, we reverted the Alpakka change to use LazyList and went back to the Scala Stream class.