The GitHub Actions job "Scalafmt" on pekko.git/feat/event-writer has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 96f1435eb266087370a90478efda71cc7d5405bb / 虎鸣 <[email protected]> feat: add EventWriter for batching journal writes Motivation: Writing events one at a time to the journal is inefficient when many actors are persisting concurrently. A shared event writer that batches writes per persistence id and handles duplicate detection improves throughput for write-heavy workloads. Modification: - Add EventWriter internal actor that batches journal writes per persistence id, handles duplicate detection via highest sequence number lookup, and supports partial batch rewrites. - Add EventWriterExtension for per-journal writer instances. - Add event-writer config (max-batch-size, ask-timeout) to persistence-typed reference.conf. - Add delay-writes config to InmemJournal for testing write timing. - Add comprehensive EventWriterSpec covering duplicates, batching, partial duplicates, error propagation, and multi-pid writes. Result: Internal API available for batching journal writes with duplicate handling. InmemJournal supports configurable write delays for testing. Tests: - sbt "persistence-typed-tests / Test / testOnly org.apache.pekko.persistence.typed.internal.EventWriterSpec" References: Refs akka/akka-core#32010 Report URL: https://github.com/apache/pekko/actions/runs/31874593231 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
