Documentation ¶
Overview ¶
Package generator contains an implementation of an in-memory generator that generates payloads in json format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemGen ¶
func NewMemGen( vertexInstance *dfv1.VertexInstance, writers map[string][]isb.BufferWriter, fsd forwarder.ToWhichStepDecider, transformerApplier applier2.SourceTransformApplier, fetchWM fetch.SourceFetcher, toVertexPublisherStores map[string]store.WatermarkStore, publishWMStores store.WatermarkStore, idleManager wmb.IdleManager, opts ...Option) (sourcer.Sourcer, error)
NewMemGen function creates an instance of generator.
Types ¶
type Option ¶
type Option func(*memGen) error
func WithLogger ¶
func WithLogger(l *zap.SugaredLogger) Option
WithLogger is used to return logger information
func WithReadTimeout ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.