Class AvroSchemaResolver

java.lang.Object
io.micronaut.pulsar.schemas.avro.AvroSchemaResolver
All Implemented Interfaces:
SchemaResolver

@Singleton @Named("AVRO_SCHEMA_RESOLVER") public final class AvroSchemaResolver extends Object implements SchemaResolver
AVRO schema resolver.
Since:
1.2.1
Author:
Haris Secic
  • Constructor Details

    • AvroSchemaResolver

      public AvroSchemaResolver()
  • Method Details

    • forArgument

      public <T> org.apache.pulsar.client.api.Schema<T> forArgument(Class<T> pojo)
      Specified by:
      forArgument in interface SchemaResolver