rocketmq

package
v0.0.0-...-1a65ef4 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ROCKETMQ_OB_TYPE = "rocketmq"
View Source
const ROCKETMQ_SINK_TYPE = "rocketmq"

Variables

This section is empty.

Functions

func Init

func Init()

func NewRocketMQObserver

func NewRocketMQObserver(properties map[string]interface{}) (observer.Observer, error)

func NewRocketMQSink

func NewRocketMQSink(properties map[string]interface{}) (sink.Sink, error)

Types

type RocketMQObserver

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

func (*RocketMQObserver) Observe

func (o *RocketMQObserver) Observe() error

func (*RocketMQObserver) Stop

func (o *RocketMQObserver) Stop()

func (*RocketMQObserver) Wait

func (o *RocketMQObserver) Wait()

type RocketMQSink

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

func (*RocketMQSink) GetStats

func (s *RocketMQSink) GetStats() *sink.Stats

func (*RocketMQSink) Init

func (s *RocketMQSink) Init(name string, fields []common.Field) error

func (*RocketMQSink) Write

func (s *RocketMQSink) Write(headers []string, rows [][]interface{}, index int) error

Jump to

Keyboard shortcuts

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