sinks

package
v1.16.9 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSink

type DataSink interface {
	Connect(context context.Context) error
	SetExpectedSchema(schema []schema.StreamSchema)
	GetType() SinkDriver
	Write(m *message.Message) error
	Stop()
}

type SinkDriver

type SinkDriver string
const (
	StdOutSinkType    SinkDriver = "stdout"
	WebSocketSinkType SinkDriver = "websocket"
	KafkaSinkType     SinkDriver = "kafka"
	PostgresSinkType  SinkDriver = "postgres"
	MongoDBSinkType   SinkDriver = "mongodb"
	NatsSinkType      SinkDriver = "nats"
	RabbitMqSinkType  SinkDriver = "rabbitmq"
	RedisSinkType     SinkDriver = "redis"
	ClickHouse        SinkDriver = "clickhouse"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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