Interface SubjectNamingStrategy

All Known Implementing Classes:
DefaultSubjectNamingStrategy, QualifiedSubjectNamingStrategy, SubjectPrefixOnlyNamingStrategy

public interface SubjectNamingStrategy
Provides function towards naming schema registry subjects for Avro files.
Author:
David Kalosi
  • Method Summary

    Modifier and Type
    Method
    Description
    toSubject(String subjectNamePrefix, org.apache.avro.Schema schema)
    Takes the Avro schema on input and returns the generated subject under which the schema should be registered.
  • Method Details

    • toSubject

      String toSubject(String subjectNamePrefix, org.apache.avro.Schema schema)
      Takes the Avro schema on input and returns the generated subject under which the schema should be registered.
      Parameters:
      subjectNamePrefix - optional subject name prefix
      schema - schema to register
      Returns:
      subject name