isbsvc

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JetStreamName added in v0.5.2

func JetStreamName(bufferName string) string

func JetStreamOTKVName added in v1.7.0

func JetStreamOTKVName(bucketName string) string

func JetStreamProcessorKVName added in v1.7.0

func JetStreamProcessorKVName(bucketName string) string

func JetStreamServingCallbackStoreName added in v1.5.0

func JetStreamServingCallbackStoreName(servingSourceStoreName string) string

func JetStreamServingResponseStoreName added in v1.5.0

func JetStreamServingResponseStoreName(servingSourceStoreName string) string

func JetStreamServingStatusStoreName added in v1.5.0

func JetStreamServingStatusStoreName(servingSourceStoreName string) string

func JetStreamSideInputsStoreKVName added in v0.10.0

func JetStreamSideInputsStoreKVName(sideInputStoreName string) string

Types

type BufferInfo

type BufferInfo struct {
	Name            string
	PendingCount    int64
	AckPendingCount int64
	TotalMessages   int64
}

BufferInfo wraps the buffer state information

type CreateOption added in v0.8.1

type CreateOption func(*createOptions) error

func WithConfig added in v0.8.1

func WithConfig(conf string) CreateOption

WithConfig sets buffer and bucket config option

type ISBService

type ISBService interface {
	// CreateBuffersAndBuckets creates buffers and buckets
	CreateBuffersAndBuckets(ctx context.Context, buffers, buckets []string, sideInputsStore string, servingSourceStore string, opts ...CreateOption) error
	// DeleteBuffersAndBuckets deletes buffers and buckets
	DeleteBuffersAndBuckets(ctx context.Context, buffers, buckets []string, sideInputsStore string, servingSourceStore string) error
	// ValidateBuffersAndBuckets validates buffers and buckets
	ValidateBuffersAndBuckets(ctx context.Context, buffers, buckets []string, sideInputsStore string, servingSourceStore string) error
	// GetBufferInfo returns buffer info for the given buffer
	GetBufferInfo(ctx context.Context, buffer string) (*BufferInfo, error)
}

ISBService is an interface used to do the operations on ISBSvc

func NewISBJetStreamSvc

func NewISBJetStreamSvc(jsClient *jsclient.Client) (ISBService, error)

Jump to

Keyboard shortcuts

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