apache / rocketmq-schema-registry

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

Should provide an interface to obtain the schema by ID #61

Closed sunxiaojian closed 2 years ago

sunxiaojian commented 2 years ago

It should provide an interface to obtain the schema by ID to ensure that the schema used for serialization and deserialization is consistent

image

humkum commented 2 years ago

Yes, we provided a recordId which is generated by Snowflake algorithm with schema id and version. And the new interface to getSchemaByRecordId also added in the new pr.

MatrixHB commented 2 years ago

close by PR #63