!peq #19324 update persistence-query to stream 2.0.1

This commit is contained in:
Patrik Nordwall 2016-01-01 16:22:58 +01:00
parent b218b069bc
commit c015f22824
6 changed files with 23 additions and 21 deletions

View file

@ -335,7 +335,7 @@ public class PersistenceQueryDocTest {
.eventsByPersistenceId("user-1337", 0L, Long.MAX_VALUE)
.map(envelope -> envelope.event())
.grouped(20) // batch inserts into groups of 20
.runWith(Sink.create(dbBatchWriter), mat); // write batches to read-side database
.runWith(Sink.fromSubscriber(dbBatchWriter), mat); // write batches to read-side database
//#projection-into-different-store-rs
}