Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxCountInBuf = 1 << 27 MaxParallelism = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
TaskService holds the configuration for each task
func NewTaskService ¶
NewTaskService creates an instance of new tasks with kafka, clickhouse and paser instances
type Sharder ¶
type Sharder struct {
// contains filtered or unexported fields
}
func NewSharder ¶
func (*Sharder) PutElement ¶ added in v0.5.0
type ShardingPolicy ¶
type ShardingPolicy struct {
// contains filtered or unexported fields
}
func NewShardingPolicy ¶
func NewShardingPolicy(shardingKey string, shardingStripe uint64, dims []*model.ColumnWithType, shards int) (policy *ShardingPolicy, err error)
type Sinker ¶ added in v0.5.0
type Sinker struct {
// contains filtered or unexported fields
}
Sinker object maintains number of task for each partition
func NewSinker ¶ added in v0.5.0
func NewSinker(rcm cm.RemoteConfManager, http string, cmd *util.CmdOptions) *Sinker
NewSinker get an instance of sinker with the task list
func (*Sinker) GetCurrentConfig ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.