=peq remove bridge from old APIs in PersistenceQuery
This commit is contained in:
parent
d31db86567
commit
b036b555e4
14 changed files with 50 additions and 88 deletions
|
|
@ -60,10 +60,6 @@ object PersistenceQueryDocSpec {
|
|||
val props = MyEventsByTagPublisher.props(tag, offsetValue, refreshInterval)
|
||||
Source.actorPublisher[EventEnvelope](props)
|
||||
.mapMaterializedValue(_ => NotUsed)
|
||||
.map {
|
||||
case EventEnvelope(offset, id, seqNr, event) =>
|
||||
EventEnvelope(Sequence(offset), id, seqNr, event)
|
||||
}
|
||||
case _ ⇒
|
||||
throw new IllegalArgumentException("LevelDB does not support " + offset.getClass.getName + " offsets")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue