Class AsyncSerde<TParsedSchema>
  
  
  
    Inheritance
    
    AsyncSerde<TParsedSchema>
      
      
   
  
  
  Assembly: Confluent.SchemaRegistry.dll
  Syntax
  
    public abstract class AsyncSerde<TParsedSchema>
   
  Type Parameters
  
    
      
        | Name | Description | 
    
    
      
        | TParsedSchema |  | 
    
  
  Constructors
  
  AsyncSerde(ISchemaRegistryClient, SerdeConfig, RuleRegistry)
  
  
  Declaration
  
    protected AsyncSerde(ISchemaRegistryClient schemaRegistryClient, SerdeConfig config, RuleRegistry ruleRegistry = null)
   
  Parameters
  
  Fields
  latestCompatibilityStrict
  
  
  Declaration
  
    protected bool latestCompatibilityStrict
   
  Field Value
  
  ruleRegistry
  
  
  Declaration
  
    protected RuleRegistry ruleRegistry
   
  Field Value
  
  schemaRegistryClient
  
  
  Declaration
  
    protected ISchemaRegistryClient schemaRegistryClient
   
  Field Value
  
  serdeMutex
  
  
  Declaration
  
    protected SemaphoreSlim serdeMutex
   
  Field Value
  
  subjectNameStrategy
  
  
  Declaration
  
    protected SubjectNameStrategyDelegate subjectNameStrategy
   
  Field Value
  
  useLatestVersion
  
  
  Declaration
  
    protected bool useLatestVersion
   
  Field Value
  
  
  
  
  Declaration
  
    protected IDictionary<string, string> useLatestWithMetadata
   
  Field Value
  
  useSchemaId
  
  
  Declaration
  
    protected int useSchemaId
   
  Field Value
  
  Methods
  
  
  
  
  Declaration
  
    protected Task<object> ExecuteMigrations(IList<Migration> migrations, bool isKey, string subject, string topic, Headers headers, object message)
   
  Parameters
  
  Returns
  
  
  
  
  
  Declaration
  
    protected Task<object> ExecuteRules(bool isKey, string subject, string topic, Headers headers, RuleMode ruleMode, Schema source, Schema target, object message, FieldTransformer fieldTransformer)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
  
  Declaration
  
    protected Task<object> ExecuteRules(bool isKey, string subject, string topic, Headers headers, RulePhase rulePhase, RuleMode ruleMode, Schema source, Schema target, object message, FieldTransformer fieldTransformer)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  GetMigrations(string, Schema, RegisteredSchema)
  
  
  Declaration
  
    protected Task<IList<Migration>> GetMigrations(string subject, Schema writer, RegisteredSchema readerSchema)
   
  Parameters
  
  Returns
  
  
  GetParsedSchema(Schema)
  
  
  Declaration
  
    protected Task<TParsedSchema> GetParsedSchema(Schema schema)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Schema | schema |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Task<TParsedSchema> |  | 
    
  
  
  GetReaderSchema(string, Schema)
  
  
  Declaration
  
    protected Task<RegisteredSchema> GetReaderSchema(string subject, Schema schema = null)
   
  Parameters
  
  Returns
  
  
  GetSubjectName(string, bool, string)
  
  
  Declaration
  
    protected string GetSubjectName(string topic, bool isKey, string recordType)
   
  Parameters
  
  Returns
  
  
  GetWriterSchema(string, SchemaId, string)
  
  
  Declaration
  
    protected Task<(Schema, TParsedSchema)> GetWriterSchema(string subject, SchemaId writerId, string format = null)
   
  Parameters
  
  Returns
  
  
  IgnoreReference(string)
  
  
  Declaration
  
    protected virtual bool IgnoreReference(string name)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | name |  | 
    
  
  Returns
  
  
  ParseSchema(Schema)
  
  
  Declaration
  
    protected abstract Task<TParsedSchema> ParseSchema(Schema schema)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Schema | schema |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | Task<TParsedSchema> |  | 
    
  
  
  ResolveReferences(Schema)
  
  
  Declaration
  
    protected Task<IDictionary<string, string>> ResolveReferences(Schema schema)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Schema | schema |  | 
    
  
  Returns