clickhouse

package
v1.19.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClickHouseSinkPlugin

func NewClickHouseSinkPlugin(config Config, ctx *stream_context.Context) sinks.DataSink

Types

type Config

type Config struct {
	Host     string `json:"host" yaml:"host"`
	Port     int    `json:"port" yaml:"port"`
	Database string `json:"database" yaml:"database"`
	User     string `json:"user" yaml:"user"`
	Password string `json:"password" yaml:"password"`
}

type SinkPlugin

type SinkPlugin struct {
	// contains filtered or unexported fields
}

func (*SinkPlugin) Connect

func (p *SinkPlugin) Connect(ctx context.Context) error

func (*SinkPlugin) GetType

func (p *SinkPlugin) GetType() sinks.SinkDriver

func (*SinkPlugin) SetExpectedSchema

func (p *SinkPlugin) SetExpectedSchema(sCh []schema.StreamSchema)

func (*SinkPlugin) Stop

func (p *SinkPlugin) Stop()

func (*SinkPlugin) Write

func (p *SinkPlugin) Write(m *message.Message) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL