티스토리 뷰

공부

[Avro] Schema Registry Compatibility Level

승가비 2022. 7. 31. 02:41
728x90

Confluent Schema Registry 기본 호환성 유형은 BACKWARD

BACKWARD fields 삭제 가능
optional fields 추가 가능
마지막 버전 Consumers
BACKWARD_TRANSITIVE fields 삭제 가능
optional fields 추가 가능
모든 이전 버전 Consumers
FORWARD fields 추가 가능
optional fields 삭제 가능
마지막 버전 Producers
FORWARD_TRANSITIVE fields 추가 가능
optional fields 삭제 가능
모든 이전 버전 Producers
FULL optional fields 추가 가능
optional fields 삭제 가능
마지막 버전 순서 상관 없음
FULL_TRANSITIVE optional fields 추가 가능
optional fields 삭제 가능
모든 이전 버전 순서 상관 없음
NONE 모든 변경 사항이 가능함 호환성 검사 비활성화 Depends

https://rmcodestar.github.io/kafka/2020/05/24/confluent-schema-registry-%ED%98%B8%ED%99%98%EC%84%B1/

 

confluent schema registry의 schema 호환성 · rmcodestar.github.io

confluent schema registry의 schema 호환성 24 May 2020 | kafka confluent schema registry 궁금증 Schema version이 달라지면 어떻게 호환성이 관리될까? 시간이 지나면 초기 개발과 달리 스키마에 필드를 추가하거나 삭

rmcodestar.github.io

https://pulsar.apache.org/docs/schema-evolution-compatibility/

 

Schema evolution and compatibility | Apache Pulsar

Normally, schemas do not stay the same over a long period of time. Instead, they undergo evolutions to satisfy new needs.

pulsar.apache.org

 

728x90
댓글