!peq #19324 update persistence-query to stream 2.0.1
This commit is contained in:
parent
b218b069bc
commit
c015f22824
6 changed files with 23 additions and 21 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue