A
- a representation of an action command that is shared across all actions in the saga. This is typically a generic type, such as Json, or if using Avro serialization, SpecificRecord or GenericRecordpublic interface ActionSerdes<A>
Modifier and Type | Method and Description |
---|---|
org.apache.kafka.common.serialization.Serde<ActionId> |
actionId()
Serde for the action id.
|
org.apache.kafka.common.serialization.Serde<io.simplesource.api.CommandId> |
commandId()
Serde for the command id.
|
org.apache.kafka.common.serialization.Serde<ActionRequest<A>> |
request()
Serde for an action request.
|
org.apache.kafka.common.serialization.Serde<ActionResponse<A>> |
response()
Serde for an action response.
|
org.apache.kafka.common.serialization.Serde<SagaId> |
sagaId()
Serde for the saga id.
|
org.apache.kafka.common.serialization.Serde<SagaId> sagaId()
org.apache.kafka.common.serialization.Serde<ActionId> actionId()
org.apache.kafka.common.serialization.Serde<io.simplesource.api.CommandId> commandId()
org.apache.kafka.common.serialization.Serde<ActionRequest<A>> request()
org.apache.kafka.common.serialization.Serde<ActionResponse<A>> response()
Copyright © 2019. All rights reserved.