Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.69 KB

kafka-streams-internals-ChangeLoggingSessionBytesStore.adoc

File metadata and controls

51 lines (34 loc) · 1.69 KB

ChangeLoggingSessionBytesStore

ChangeLoggingSessionBytesStore is a SessionStore that uses Kafka Bytes (immutable byte arrays) for keys.

ChangeLoggingSessionBytesStore is created exclusively when SessionStoreBuilder is requested to build a MeteredSessionStore (with logging enabled).

ChangeLoggingSessionBytesStore takes a SessionStore when created.

Table 1. ChangeLoggingSessionBytesStore’s Internal Properties (e.g. Registries, Counters and Flags)
Name Description

changeLogger

StoreChangeLogger

Used when…​FIXME

innerStateSerde

StateSerdes

Used when…​FIXME

Initialize State Store — init Method

void init(final ProcessorContext context, final StateStore root)
Note
init is part of…​FIXME

init…​FIXME

Storing Aggregated Value for Session Key — put Method

void put(final Windowed<Bytes> sessionKey, final byte[] aggregate)
Note
put is part of SessionStore Contract to store an aggregated value for a session key.

In the end, put…​FIXME