public static interface AvroSerdes.Specific
A
is a subclass of SpecificRecord
. This includes all the types generated from AVDL by the Avro Maven plugin.Modifier and Type | Method and Description |
---|---|
static <A extends org.apache.avro.specific.SpecificRecord> |
actionSerdes(String schemaRegistryUrl) |
static <A extends org.apache.avro.specific.SpecificRecord> |
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.specific.SpecificRecord> |
sagaClientSerdes(String schemaRegistryUrl,
boolean useMockSchemaRegistry)
Saga client serdes (serdes required for the saga request and response topics)
|
static <A extends org.apache.avro.specific.SpecificRecord> |
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.specific.SpecificRecord> ActionSerdes<A> actionSerdes(String schemaRegistryUrl)
static <A extends org.apache.avro.specific.SpecificRecord> 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 SpecificRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registrystatic <A extends org.apache.avro.specific.SpecificRecord> 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 SpecificRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registrystatic <A extends org.apache.avro.specific.SpecificRecord> 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 SpecificRecord
schemaRegistryUrl
- the schema registry urluseMockSchemaRegistry
- the use mock schema registryCopyright © 2019. All rights reserved.