pjfanning opened a new issue, #647:
URL: https://github.com/apache/pekko-persistence-jdbc/issues/647

   akka-persistence-jdbc 5.3.0 includes 
https://github.com/akka/akka-persistence-jdbc/pull/765, which reduces memory 
use when replaying messages. The akka-persistence-jdbc 5.3.0 code is now Apache 
licensed.
   
   In `JdbcAsyncWriteJournal.asyncReplayMessages`, it removes the 
`mapAsync(1)(reprAndOrdNr => Future.fromTry(reprAndOrdNr))` stage and pattern 
matches on `Success` / `Failure` directly in `runForeach`.
   
   The same code is still in 
`core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/JdbcAsyncWriteJournal.scala`
 on `main`. The other part of the PR (`mapConcat(identity)` in 
`BaseJournalDaoWithReadMessages`) is already done here.
   
   Target: `main` only, for 2.0.0.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to