Documentation ¶
Overview ¶
Package jetstream package implements the watermark progression using Jetstream as the KV store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKVJetStreamKVStore ¶
func NewKVJetStreamKVStore(ctx context.Context, pipelineName string, bucketName string, client *jsclient.NATSClient, opts ...JSKVStoreOption) (store.WatermarkKVStorer, error)
NewKVJetStreamKVStore returns KVJetStreamStore.
func NewKVJetStreamKVWatch ¶
func NewKVJetStreamKVWatch(ctx context.Context, pipelineName string, kvBucketName string, client *jsclient.NATSClient, opts ...Option) (store.WatermarkKVWatcher, error)
NewKVJetStreamKVWatch returns KVJetStreamWatch specific to JetStream which implements the WatermarkKVWatcher interface.
Types ¶
type JSKVStoreOption ¶
type JSKVStoreOption func(*jetStreamStore) error
JSKVStoreOption is to pass in JetStream options.
Click to show internal directories.
Click to hide internal directories.