Get desktop application:
View/edit binary Protocol Buffers messages
Used in:
type is the kind of event. If type is a PUT, it indicates new data has been stored to the key. If type is a DELETE, it indicates the key was deleted.
kv holds the KeyValue for the event. A PUT event contains current kv pair. A PUT event with kv.Version=1 indicates the creation of a key. A DELETE/EXPIRE event contains the deleted key with its modification revision set to the revision of deletion.
prev_kv holds the key-value pair before the event happens.
The kind of event.
Used in:
Used in:
, , , ,key is the key in bytes. An empty key is not allowed.
create_revision is the revision of last creation on this key.
mod_revision is the revision of last modification on this key.
version is the version of the key. A deletion resets the version to zero and any modification of the key increases its version.
value is the value held by the key, in bytes.
lease is the ID of the lease that attached to key. When the attached lease expires, the key will be deleted. If lease is 0, then no lease is attached to the key.