Class QualifiedSubjectNamingStrategy
java.lang.Object
org.springframework.cloud.stream.schema.registry.avro.QualifiedSubjectNamingStrategy
- All Implemented Interfaces:
SubjectNamingStrategy
- Since:
- 2.2.0
- Author:
- José A. Íñigo
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QualifiedSubjectNamingStrategy
public QualifiedSubjectNamingStrategy()
-
-
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
-