jetstream

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 8 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 Jetsteam 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