Class AvroGenericUtils
- java.lang.Object
-
- io.simplesource.kafka.serialization.avro.AvroGenericUtils
-
public final class AvroGenericUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAvroGenericUtils.SchemaNameStrategystatic classAvroGenericUtils.ValueWithSequenceAvroHelper
-
Constructor Summary
Constructors Constructor Description AvroGenericUtils()
-
Method Summary
Modifier and Type Method Description static org.apache.kafka.common.serialization.Serde<org.apache.avro.generic.GenericRecord>genericAvroSerde(String schemaRegistryUrl, boolean useMockSchemaRegistry, boolean isKey)static org.apache.kafka.common.serialization.Serde<org.apache.avro.generic.GenericRecord>genericAvroSerde(String schemaRegistryUrl, boolean useMockSchemaRegistry, boolean isKey, AvroGenericUtils.SchemaNameStrategy schemaNameStrategy)
-
-
-
Method Detail
-
genericAvroSerde
public static org.apache.kafka.common.serialization.Serde<org.apache.avro.generic.GenericRecord> genericAvroSerde(String schemaRegistryUrl, boolean useMockSchemaRegistry, boolean isKey)
-
genericAvroSerde
public static org.apache.kafka.common.serialization.Serde<org.apache.avro.generic.GenericRecord> genericAvroSerde(String schemaRegistryUrl, boolean useMockSchemaRegistry, boolean isKey, AvroGenericUtils.SchemaNameStrategy schemaNameStrategy)
-
-