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 BufferCreateOption ¶
type BufferCreateOption func(*bufferCreateOptions) error
func WithBufferConfig ¶
func WithBufferConfig(conf string) BufferCreateOption
WithBufferConfig sets buffer config option
type BufferInfo ¶
BufferInfo wraps the buffer state information
type ISBService ¶
type ISBService interface { CreateBuffers(ctx context.Context, buffers []dfv1.Buffer, opts ...BufferCreateOption) error DeleteBuffers(ctx context.Context, buffers []dfv1.Buffer) error ValidateBuffers(ctx context.Context, buffers []dfv1.Buffer) error GetBufferInfo(ctx context.Context, buffer dfv1.Buffer) (*BufferInfo, 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.JetStreamClient) JSServiceOption
Click to show internal directories.
Click to hide internal directories.