Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AlreadyIngestRows = 0 AlreadyIngestBytes = 0 )
Functions ¶
This section is empty.
Types ¶
type DatabendWorkerStatsData ¶
type DatabendWorkerStatsRecorder ¶
type DatabendWorkerStatsRecorder struct {
// contains filtered or unexported fields
}
func NewDatabendWorkerStatsRecorder ¶
func NewDatabendWorkerStatsRecorder() *DatabendWorkerStatsRecorder
func (*DatabendWorkerStatsRecorder) RecordMetric ¶
func (stats *DatabendWorkerStatsRecorder) RecordMetric(bytes int, rows int)
func (*DatabendWorkerStatsRecorder) Stats ¶
func (stats *DatabendWorkerStatsRecorder) Stats(statsWindow time.Duration) DatabendWorkerStatsData
type Worker ¶
type Worker struct {
Name string
Cfg *config.Config
Ig ingester.DatabendIngester
Src source.Sourcer
// contains filtered or unexported fields
}
func (*Worker) IsSplitAccordingMaxGoRoutine ¶
IsSplitAccordingMaxGoRoutine checks if the split key is according to the max go routine
func (*Worker) StepBatchByTimeSplitKey ¶
Click to show internal directories.
Click to hide internal directories.