Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JetStreamName ¶ added in v0.5.2
func JetStreamOTBucket ¶ added in v0.5.2
func JetStreamProcessorBucket ¶ added in v0.5.2
Types ¶
type BufferInfo ¶
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(ctx context.Context, buffers, buckets []string, opts ...CreateOption) error DeleteBuffersAndBuckets(ctx context.Context, buffers, buckets []string) error ValidateBuffersAndBuckets(ctx context.Context, buffers, buckets []string) error GetBufferInfo(ctx context.Context, buffer string) (*BufferInfo, error) CreateWatermarkFetcher(ctx context.Context, bucketName string, partitions int, isReduce bool) ([]fetch.Fetcher, error) }
ISBService is an interface used to do the operations on ISBSvc
func NewISBJetStreamSvc ¶
func NewISBJetStreamSvc(pipelineName string, opts ...JSServiceOption) (ISBService, error)
func NewISBRedisSvc ¶
func NewISBRedisSvc(client *redisclient.RedisClient) ISBService
NewISBRedisSvc is used to return a new object of type isbsRedisSvc
type JSServiceOption ¶
type JSServiceOption func(*jetStreamSvc) error
func WithJetStreamClient ¶ added in v0.5.4
func WithJetStreamClient(jsClient *jsclient.NATSClient) JSServiceOption
Click to show internal directories.
Click to hide internal directories.