It is similar, but the LRUCacheEntry tracks `isDirty` that would be confusing in this context, so I wouldn't use LRUCacheEntry here, but we could go the other way and make LRUCacheEntry wrap ContextualRecord instead of storing the value + context itself.
Let me know if this sounds good to you... I'll go ahead and optimistically code it up. [ Full content available at: https://github.com/apache/kafka/pull/5693 ] This message was relayed via gitbox.apache.org for [email protected]
