Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 1. Migration from Service Registry 1.1 to 2.x

download PDF

Service Registry 2.x includes new features with breaking changes from the previous Service Registry 1.1 release. This section describes the major changes between Service Registry 1.1 and version 2.x.

Because of the breaking changes in 2.x, there is no automatic upgrade and a migration process is required. This involves moving the data in your existing registry to a new registry. You must also review your existing registry client applications and update their configuration to meet the new requirements.

When migrating to version 2.x, you must take the following major changes into account:

1.1. New data storage options

The existing registry data storage options in Service Registry 1.1 (streams,jpa, and infinispan) have been replaced with new storage options in version 2.x (sql and kafkasql). These new storage options provide more robust, performant, and maintainable Service Registry deployments.

For details on how to deploy Service Registry 2.x with your chosen storage option, see Installing and deploying Service Registry on OpenShift.

1.2. New v2 REST API

Service Registry 2.x includes a new REST API with support for artifact groups and improved long term maintainability. Service Registry still supports the original registry v1 REST API and compatibility APIs, for example, Confluent and IBM schema registry APIs. Service Registry now also implements the Schema Registry specification provided in the CNCF Cloud Events specification.

1.3. Refactored Java client libraries

  • The Service Registry Java client classes are available in version 2.x in a different Maven module named apicurio-registry-client.
  • The Kafka client serializer and deserializer (SerDes) classes are available in version 2.x in three different Maven modules, one for each supported data format: Apache Avro, Protobuf, and JSON Schema. You can now use only the module you want without pulling in transitive dependencies that you are not concerned with.

Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.