Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: add getSchemaByTopicRecordName and getSchemaByRecordName #28

Open
baileywall opened this issue Nov 22, 2019 · 2 comments

Comments

@baileywall
Copy link

The Confluent Schema Registry supports registering different types of events for one topic (blog post: https://www.confluent.io/blog/put-several-event-types-kafka-topic/ and pull request: confluentinc/schema-registry#680 and https://docs.confluent.io/current/schema-registry/serializer-formatter.html) by supporting three different subject naming strategies (for key and value):

io.confluent.kafka.serializers.subject.TopicNameStrategy
io.confluent.kafka.serializers.subject.RecordNameStrategy
io.confluent.kafka.serializers.subject.TopicRecordNameStrategy

This library currently has a getSchemaByTopicName function, but that doesn't support either the RecordNameStrategy or the TopicRecordNameStrategy. Are there any plans to add something similar to getSchemaByTopicName, but for these other strategies?

Thanks!

@bencebalogh
Copy link
Owner

I'll look into this soon, thanks for the suggestion

@flqw
Copy link

flqw commented Jan 22, 2020

I started a pull request that adds the necessary functions #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants