A
- common representation form for all action commands (typically Json / GenericRecord for Avro)D
- intermediate decoded input type (that can easily be converted to both K and C)K
- aggregate keyC
- simple sourcing command typepublic final class EventSourcingContext<A,D,K,C> extends Object
Modifier and Type | Field and Description |
---|---|
ActionSpec<A> |
actionSpec |
TopicNamer |
actionTopicNamer |
TopicNamer |
commandTopicNamer |
EventSourcingSpec<A,D,K,C> |
eventSourcingSpec |
Constructor and Description |
---|
EventSourcingContext() |
Modifier and Type | Method and Description |
---|---|
ActionSerdes<A> |
aSerdes() |
io.simplesource.kafka.api.CommandSerdes<K,C> |
cSerdes() |
io.simplesource.saga.action.internal.ActionContext<A> |
getActionContext() |
public final ActionSpec<A> actionSpec
public final EventSourcingSpec<A,D,K,C> eventSourcingSpec
public final TopicNamer actionTopicNamer
public final TopicNamer commandTopicNamer
public io.simplesource.saga.action.internal.ActionContext<A> getActionContext()
public final ActionSerdes<A> aSerdes()
Copyright © 2019. All rights reserved.