Documentation ¶
Index ¶
- type Option
- type ToLog
- func (t *ToLog) Close() error
- func (t *ToLog) ForceStop()
- func (t *ToLog) GetName() string
- func (t *ToLog) GetPartitionIdx() int32
- func (t *ToLog) IsFull() bool
- func (t *ToLog) Start() <-chan struct{}
- func (t *ToLog) Stop()
- func (t *ToLog) Write(_ context.Context, messages []isb.Message) ([]isb.Offset, []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func WithLogger ¶
func WithLogger(log *zap.SugaredLogger) Option
type ToLog ¶
type ToLog struct {
// contains filtered or unexported fields
}
ToLog prints the output to a log sinks.
func NewToLog ¶
func NewToLog(vertexInstance *dfv1.VertexInstance, fromBuffer isb.BufferReader, fetchWatermark fetch.Fetcher, publishWatermark publish.Publisher, idleManager wmb.IdleManager, opts ...Option) (*ToLog, error)
NewToLog returns ToLog type.
func (*ToLog) GetPartitionIdx ¶ added in v0.9.0
GetPartitionIdx returns the partition index. for sink it is always 0.
Click to show internal directories.
Click to hide internal directories.