J. Voigt
J. Voigt
Looking at the [`decode` method](https://github.com/kafkajs/confluent-schema-registry/blob/514391cc997d1ce6f6a3b7aca33d756ed3e8eb3b/src/SchemaRegistry.ts#L298-L307), looks like it'd be possible to fetch a message's schema by using the [wireDecoder](https://github.com/kafkajs/confluent-schema-registry/blob/master/src/wireDecoder.ts#L3) (to get the `registryId`) and the existing [`getSchema` method](https://github.com/kafkajs/confluent-schema-registry/blob/514391cc997d1ce6f6a3b7aca33d756ed3e8eb3b/src/SchemaRegistry.ts#L261-L263):
@Matan-Yadaev-Forter You should be able to use the registry API directly to get [the schema subject for each version](https://docs.confluent.io/platform/7.9/schema-registry/develop/api.html#get--schemas-ids-int-%20id-versions): `GET /schemas/ids/{int: id}/versions`