Skip to content

Choosing Schema Registry Subject Name Strategy #85

@enamrik

Description

@enamrik

Problem:

There are different naming strategies out there for naming the subject of a schema as seen here.

The schema registry implementation in this library hardcodes the TopicNameStrategy strategy as seen below.

subject := topic + "-" + string(element)

In my current project, we use a different strategy RecordNameStrategy. This is because we have topics that can contain messages of different schemas.

Request:

Can we consider allowing the user to pass a method that builds the subject name? This way the user can implement which ever naming strategy they use.

Metadata

Metadata

Assignees

Labels

Projects

Status

Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions