Aiven-Open / tiered-storage-for-apache-kafka

RemoteStorageManager for Apache Kafka® Tiered Storage
Apache License 2.0
95 stars 20 forks source link

Refactor chunk cache #443

Open ivanyu opened 1 year ago

ivanyu commented 1 year ago

Before, the chunk cache(s) was a wrapper over DefaultChunkManager. In some situations, this is not very convenient and also the cache has more responsibilities than it should (like prefetching). This commit refactors the cache to be a pluggable mechanism in the chunk manager.