sources

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOutputSchema

func BuildOutputSchema(inputSchema []schema.StreamSchema) map[string]*arrow.Schema

Types

type DataSource

type DataSource interface {
	Connect(ctx context.Context) error
	Start()
	Events() chan MessageEvent
	Stop()
}

type MessageEvent

type MessageEvent struct {
	Message *message.Message
	Err     error
}

type SourceDriver

type SourceDriver string
const (
	PostgresCDC         SourceDriver = "postgres_cdc"
	PostgresIncremental SourceDriver = "postgres_incremental"
	MongoStream         SourceDriver = "mongo_stream"
	WebSockets          SourceDriver = "websocket"
	AirTable            SourceDriver = "airtable"
	Playground          SourceDriver = "playground"
	MysqlCDC            SourceDriver = "mysql_cdc"
	Kafka               SourceDriver = "kafka"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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