Spring Cloud Schema Registry 1.0.4

Spring Cloud Schema Registry provides support for schema evolution so that the data can be evolved over time and still work with older or newer producers and consumers and vice versa. Most serialization models, especially the ones that aim for portability across different platforms and languages, rely on a schema that describes how the data is serialized in the binary payload. In order to serialize the data and then to interpret it, both the sending and receiving sides must have access to a schema that describes the binary format. In certain cases, the schema can be inferred from the payload type on serialization or from the target type on deserialization.

However, many applications benefit from having access to an explicit schema that describes the binary data format.

A schema registry lets you store schema information in a textual format (typically JSON) and makes that information accessible to various applications that need it to receive and send data in binary format.

A schema is referenceable as a tuple consisting of:

A subject that is the logical name of the schema

The schema version

The schema format, which describes the binary format of the data

Spring Cloud Schema Registry provides the following components

Standalone Schema Registry Server - by default, it is using an H2 database, but server can be used with other databases such as Postgres or MySQL by providing appropriate datasource configuration.

Schema registry clients capable of message marshalling by communicating with a Schema Registry - currently, the client can communicate to the standalone schema registry or the Confluent Schema Registry.

Quick start
Bootstrap your application with Spring Initializr.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值