Kafka Extended APIs for Developers

Consumers and Producers are considered low level, and since their introduction other higher level APIs have been created, specifically:

Apache Kafka Series - Learn Apache Kafka for Beginners v3 - 202302211109-20240330170029132.webp

Apache Kafka Series - Learn Apache Kafka for Beginners v3 - 202302211109-20240330170119062.webp

Gotchas:

You can also evolve schemas over time. The same problems you experience in changing any contract apply. Additions are backwards compatible, modifications or deletions are not.

Schema changes are versioned (v1, v2, etc.)

You can also assign default values for new properties as the schemas evolve.

Apache Kafka Series - Learn Apache Kafka for Beginners v3 - 202302211109-20240330170923135.webp

References

Flashcards