apache / rocketmq-schema-registry

Apache RocketMQ Schema Registry
https://rocketmq.apache.org/
31 stars 20 forks source link

One subject corresponds to only one schema, but there is not any checks when schema registering. #82

Open ni-ze opened 1 year ago

ni-ze commented 1 year ago

image

You can change the schemaName and register a schema to the same topic by invoke the method schemaRegistryClient.registerSchema.

I think the request must be rejected, when there is a schema bind to the topic(subject). To protect the semantics one subject corresponds to only one schema.