Skip to main content

One post tagged with "schema"

View All Tags

Kafka schema registry

· 7 min read
Haril Song
Owner, Software Engineer at 42dot

Problems

  • When the message specification changes, DTO updates are required for each dependent module or Git Repository.
    • Backward or forward compatibility is often broken.
    • The complexity of DTO management increases linearly.
    • Java has many inconveniences, especially when dealing with JSON-based messages.
  • Kafka transmits messages in ByteArray format, but it is recommended to deserialize and manage them at the application level.
    • The process of serializing data into ByteArray every time it is put into a payload, and the reverse process, occurs every time.
    • Increased code complexity.
    • ByteArray - JSON - Object