Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromUnixMicro ¶
func FromUnixMilli ¶
Converts Unix Epoch from milliseconds to time.Time It is faster this way, benchmark: https://github.com/Tigraine/go-timemill
func NewMessageTransformer ¶
func NewMessageTransformer() transformer.MessageTransformer
func NewSchemaTransformer ¶
func NewSchemaTransformer(url string) transformer.SchemaTransformer
Types ¶
type Schema ¶
type Schema struct {
Type string `yaml:"type"`
Name string `yaml:"name"`
Namespace string `yaml:"namespace"`
Fields []SchemaField `yaml:"fields"`
ConnectName string `yaml:"connect.name"`
}
type SchemaField ¶
type SchemaField struct {
Name string `yaml:"name"`
Type interface{} `yaml:"type"`
Default interface{} `yaml:"default"`
}
type SourceType ¶
Click to show internal directories.
Click to hide internal directories.