public interface JpaReadSide
This should be used to build and register a read side processor.
All callbacks are executed in a transaction and are automatically committed or rolled back based on whether they fail or succeed.
Offsets are automatically handled.
Modifier and Type | Interface and Description |
---|---|
static interface |
JpaReadSide.ReadSideHandlerBuilder<Event extends AggregateEvent<Event>>
Builder for the handler.
|
Modifier and Type | Method and Description |
---|---|
<Event extends AggregateEvent<Event>> |
builder(String readSideId)
Create a builder for a JPA read side event handler.
|
<Event extends AggregateEvent<Event>> JpaReadSide.ReadSideHandlerBuilder<Event> builder(String readSideId)
readSideId
- An identifier for this read side. This will be used to store offsets in the
offset store.