Status

Current state: Discarded (we don't need a KIP for this change)

Discussion thread: here

JIRA: here

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

KIP-358 introduced typed representation for Window Store Interactive Query API (ReadOnlyWindowStore) to improve usability.

On the other hand, Processor API read-write Store APIs are tuned for automation, therefore they should keep the long-based methods to represent time ranges to avoid object allocation.

Deprecation notes for long-based read operations in ReadOnlyWindowStore were added in 2.1.0.

Based on these, this proposal includes:

All these changes are targeting the next major release. Currently v3.0.

Similar changes for SessionStore are considered in KIP-666, but can be introduced earlier as they do not include removing deprecated methods.

Public Interfaces


Compatibility, Deprecation, and Migration Plan

Rejected Alternatives

None.