@Elston15 wrote:
Hi,
I’m looking at transitioning an existing codebase to Alpakka Kafka and one of the requirements is that a single Kafka message can result in the output of 100k+ of Kafka messages. It also requires at-least-once delivery semantics. This is currently done with Scalaviews
so that the producer messages are produced lazily and don’t consume vast amounts of memory. Looking at Alpakka, theProduceMessage.multi
takes an immutableSeq
which is not consistent withview
. I could use aStream
which would use lazy evaluation but would still have the problem with the memory footprint.Is there any way to to solve this problem?
Posts: 2
Participants: 2