jetstream

package
v0.8.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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.JetStreamClient, opts ...JSKVStoreOption) (store.WatermarkKVStorer, error)

NewKVJetStreamKVStore returns KVJetStreamStore.

func NewKVJetStreamKVWatch

func NewKVJetStreamKVWatch(ctx context.Context, pipelineName string, kvBucketName string, client jsclient.JetStreamClient, opts ...JSKVWatcherOption) (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.

type JSKVWatcherOption

type JSKVWatcherOption func(*jetStreamWatch) error

JSKVWatcherOption is to pass in Jetstream options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL