Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context, vertexInstance *dfv1.VertexInstance, opts ...Option) (sourcer.SourceReader, error)
New creates a Jetstream source reader.
Types ¶
type Option ¶
type Option func(*jsSource) error
func WithBufferSize ¶
WithBufferSize sets the buffer size for storing the messages from nats
func WithLogger ¶
func WithLogger(l *zap.SugaredLogger) Option
WithLogger is used to return logger information
func WithReadTimeout ¶
WithReadTimeout sets the read timeout
func WithServingEnabled ¶
func WithServingEnabled() Option
WithServingEnabled sets the serving enabled flag
Click to show internal directories.
Click to hide internal directories.