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 forward.ToWhichStepDecider, transformerApplier applier2.SourceTransformApplier, fetchWM fetch.Fetcher, toVertexPublisherStores map[string]store.WatermarkStore, publishWMStores store.WatermarkStore, idleManager wmb.IdleManager, opts ...Option) (*memgen, 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.