So, I have a script in kafka where there are 2 topics: A and B. Theme. Consumers are connected to the network (and need to quickly consume data), and users of topic B are offline. Since users of topic B are not connected to the network, I donβt need to cache any message related to topic B right now and want topic A to receive the entire cache. Is it possible to disable caching for some Kafka themes?
Edit: What I mean by caching is that messages are stored in memory, and consumers also read from memory (instead of disk). In this case, I would like messages related to topic A to be cached in memory. And messages related to topic B do not need to be cached in memory. I want topic A to use the memory space that would be assigned to topic B
source
share