Can Kafka Replace Redis for Cache Synchronization Across Multiple Spring Boot Pods?
Reddit r/apachekafka1mo4 min read
Hi everyone, I have a question about cache synchronization in a distributed Spring Boot application. Our current architecture looks like this: Spring Boot Deployed on GCP Around 25 application pods Redis is used for caching Currently, when cache data is updated, Redis ensures that all application instances can access the latest data. We’re considering replacing this mechanism with Kafka for cache synchronization. My understanding is that when a cache entry changes, we could publish an event to Kafka, and every application pod would consume the event and update its own local cache. My questions
