Class DefaultSubjectNamingStrategy
java.lang.Object
org.springframework.cloud.stream.schema.registry.avro.DefaultSubjectNamingStrategy
- All Implemented Interfaces:
SubjectNamingStrategy
- Author:
- David Kalosi
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSubjectNamingStrategy
public DefaultSubjectNamingStrategy()
-
-
Method Details
-
toSubject
Description copied from interface:SubjectNamingStrategyTakes the Avro schema on input and returns the generated subject under which the schema should be registered.- Specified by:
toSubjectin interfaceSubjectNamingStrategy- Parameters:
subjectNamePrefix- optional subject name prefixschema- schema to register- Returns:
- subject name
-