Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReaderParams ¶
type ReaderParams struct { // common CreateType int IsShard bool // isShard Does it include shard IsReplica bool // isReplica Does it include replica Cluster string // cluster name Database string // database name Table string // table name Conn *sql.DB // clickhouse // reader Brokers string Topics string GroupName string KafkaNumConsumers int KafkaSkipBrokenMessages int }
type StorerParams ¶
type StorerParams struct { // common CreateType int IsShard bool // isShard Does it include shard IsReplica bool // isReplica Does it include replica Cluster string // cluster name Database string // database name Table string // table name Conn *sql.DB // clickhouse // storer Fields string TTL int // ttl Data expiration time, unit is the day }
type SwitcherParams ¶
type SwitcherParams struct { // common CreateType int IsShard bool // isShard Does it include shard IsReplica bool // isReplica Does it include replica Cluster string // cluster name Database string // database name Table string // table name Conn *sql.DB // clickhouse // switcher RawLogField string RawLogFieldParent string ParseIndexes string ParseFields string ParseTime string ParseWhere string IsRawLogFieldString bool CustomTimeField string }
Click to show internal directories.
Click to hide internal directories.