public static interface AvroSerdes.Generic
A
is a subclass of GenericRecord
.Modifier and Type | Method and Description |
---|---|
static <A extends org.apache.avro.generic.GenericRecord> |
actionSerdes(String schemaRegistryUrl,
boolean useMockSchemaRegistry)
Create action serdes (serdes required for serializing to and from action request and response topics)
|
static <A extends org.apache.avro.generic.GenericRecord> |
sagaClientSerdes(String schemaRegistryUrl,
boolean useMockSchemaRegistry)
Saga client serdes (serdes required for the saga request and response topics)
|
static <A extends org.apache.avro.generic.GenericRecord> |
sagaSerdes(String schemaRegistryUrl,
boolean useMockSchemaRegistry)
Saga serdes (saga client topics, as well as the saga internal state and state transition topics)
|
static <A extends org.apache.avro.generic.GenericRecord> ActionSerdes<A> actionSerdes(String schemaRegistryUrl, boolean useMockSchemaRegistry)
A
- a representation of an action command that is shared across all actions in the saga. This is must be a subclass of GenericRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registrystatic <A extends org.apache.avro.generic.GenericRecord> SagaClientSerdes<A> sagaClientSerdes(String schemaRegistryUrl, boolean useMockSchemaRegistry)
A
- a representation of an action command that is shared across all actions in the saga. This is must be a subclass of GenericRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registrystatic <A extends org.apache.avro.generic.GenericRecord> SagaSerdes<A> sagaSerdes(String schemaRegistryUrl, boolean useMockSchemaRegistry)
A
- a representation of an action command that is shared across all actions in the saga. This is must be a subclass of GenericRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registryCopyright © 2019. All rights reserved.