classDataStorePersistence extends Runnable with Closeable with MethodProfiling with LazyLogging
Persists expired entries to the data store
Persists expired entries to the data store
checks for expired entries
2. gets zk lock
3. gets offsets from zk
4. writes expired entries to data store
5. updates offsets in zk
6. releases zk lock
reads offsets stored in zk on startup
2. scheduled repeating - reads features from kafka, adds to in-memory cache
3. listens for offsets change in zk, removes expired features from in-memory cache
Persists expired entries to the data store