Kafka Streams - reducing the memory footprint for large state stores
问题 I have a topology (see below) that reads off a very large topic (over a billion messages per day). The memory usage of this Kafka Streams app is pretty high, and I was looking for some suggestions on how I might reduce the footprint of the state stores (more details below). Note: I am not trying to scape goat the state stores, I just think there may be a way for me to improve my topology - see below. // stream receives 1 billion+ messages per day stream .flatMap((key, msg) -> rekeyMessages