-
Notifications
You must be signed in to change notification settings - Fork 61
Description
The schema registry support introduced in #51 states that
The schemas must follow a naming convention with the pattern -value. docs
This -value
suffix is known at the TopicNameStrategy
which is the default "Subject Name Strategy", see Understanding Schema Subjects. The other stategies are RecordNameStrategy
and TopicRecordNameStrategy
.
I would like the kafka input plugin to support all naming strategies.
Subject Name Strategy is required by producing clients that need to autogenerate subject/version on write. On the other hand, consumers that read messages normally looks at the schema id in the start of message, and use this id to retrieve the schema from the registry. (The client will cache this schema.) Consumers do not care about the subject name or the naming strategy that may have been used to generate it. Please correct me if I misunderstood something.
The -value
dependency is implemented in the check_for_schema_registry_connectivity_and_subjects. Maybe you can lift this check to implement this feature?