Interface SchemaResolver<SCHEMA,​DATA>

    • Method Detail

      • configure

        default void configure​(Map<String,​?> configs,
                               SchemaParser<SCHEMA,​DATA> schemaMapper)
        Configure, if supported.
        Parameters:
        configs - the configs
        isKey - are we handling key or value
      • resolveSchema

        SchemaLookupResult<SCHEMA> resolveSchema​(Record<DATA> data)
        Used to register or to lookup a schema in the registry
        Parameters:
        data - , record containing metadata about it that can be used by the resolver to lookup a schema in the registry
        Returns:
        SchemaLookupResult
      • resolveSchemaByArtifactReference

        SchemaLookupResult<SCHEMA> resolveSchemaByArtifactReference​(ArtifactReference reference)
        The schema resolver may use different pieces of information from the ArtifactReferenceImpl depending on the configuration of the schema resolver.
        Parameters:
        reference -
        Returns:
        SchemaLookupResult
      • reset

        void reset()
        Hard reset cache