Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKafkaSource ¶
func NewKafkaSource( vertexInstance *dfv1.VertexInstance, writers map[string][]isb.BufferWriter, fsd forwarder.ToWhichStepDecider, transformerApplier applier.SourceTransformApplier, fetchWM fetch.SourceFetcher, toVertexPublisherStores map[string]store.WatermarkStore, publishWMStores store.WatermarkStore, idleManager wmb.IdleManager, opts ...Option) (sourcer.Sourcer, error)
NewKafkaSource returns a kafkaSource reader based on Kafka Consumer Group.
Types ¶
type Option ¶
type Option func(*kafkaSource) error
func WithBufferSize ¶
WithBufferSize is used to return size of message channel information
func WithGroupName ¶
WithGroupName is used to set the group name
func WithLogger ¶
func WithLogger(l *zap.SugaredLogger) Option
WithLogger is used to return logger information
func WithReadTimeOut ¶
WithReadTimeOut is used to set the read timeout for the from buffer
Click to show internal directories.
Click to hide internal directories.