public class DefaultSubjectNamingStrategy extends Object implements SubjectNamingStrategy
Constructor and Description |
---|
DefaultSubjectNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
toSubject(org.apache.avro.Schema schema)
Takes the Avro schema on input and returns the generated subject under which the
schema should be registered.
|
public String toSubject(org.apache.avro.Schema schema)
SubjectNamingStrategy
toSubject
in interface SubjectNamingStrategy
schema
- schema to registerCopyright © 2019 Pivotal Software, Inc.. All rights reserved.