Category Archives: Kafka

DDD, SAGA Pattern, and Outbox Pattern with Real Code / Local environment configuration – Part 2

We are still working with great course – https://www.udemy.com/course/microservices-clean-architecture-ddd-saga-outbox-kafka-kubernetes/ of Ali Gelender and now our focus is on local environment configuration. Any developer needs to configure some env before publishing code to the non-prod / prod env and with course’s code we work with: We can start up virtual machines on a laptop, but virtualization has significant resource… Read More »

org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY]

I got the error message below in my java producer on Mac laptop It happened on my laptop and I didn’t have time to investigate this so I just replaced ‘snappy’ compression-type value with ‘none’ in kafka producer configuration A small reminder: compression is used on producer and consumer side to decrease size of trasfered data through additional… Read More »

Confluent Schema Registry authentication

Using applications without security configuration is preferable for local development environments (in non-production environments, we still want to use authentication to keep environments similar), but companies require strict security parameters. In this post, we will consider available options for authentication in Confluent Schema Registry. In the source code, there is a special CachedSchemaRegistryClient class that is reused by… Read More »