Hi Xiangying Meng, For the Pulsar client, even if users set BYTES schema, it won’t store anything in schema registry and we don’t need any special compatibility check. The key point here is, users can use admin api to upload a BYTES schema and it store a NONE type of schema in schema registry, which is unexpected and broke the compatibility checks.
Tell users there is no schema just after user upload a BYTES schema is strange too. So I suggest to forbid users to upload BYTES schema. Thanks, Donglai On 2022/12/13 06:36:53 Xiangying Meng wrote: > Hi, Donglai: > Thanks for your discussion. > I think we should think about why we can not add a new schema of BYTES. > The users use the byte schema to send or consume messages. But the schema > registry has never stored the BYTES schema and we always need some special > compatibility checks for the BYTES schema. > I mean it is strange for users and difficult to maintain for developers. > Thanks, > Xiangying >