Documentation ¶
Overview ¶
Package generator contains an implementation of a 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, mapApplier applier.MapApplier, fetchWM fetch.Fetcher, publishWM map[string]publish.Publisher, publishWMStores store.WatermarkStorer, 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.