sink

package
v0.0.0-...-73a5b24 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PulsarSinkHandler

type PulsarSinkHandler struct {
	sink.BaseSink
	// contains filtered or unexported fields
}

func NewPulsarSinkHandler

func NewPulsarSinkHandler(baseSink sink.BaseSink, sinkPulsarCfg config.PulsarSinkConfig) *PulsarSinkHandler

NewPulsarSinkHandler creates a new Pulsar sink handler

func (*PulsarSinkHandler) CloseSink

func (p *PulsarSinkHandler) CloseSink()

CloseSink closes the Pulsar sink

func (*PulsarSinkHandler) InitSink

func (p *PulsarSinkHandler) InitSink()

InitSink initializes the Pulsar sink

func (*PulsarSinkHandler) SinkName

func (p *PulsarSinkHandler) SinkName() string

SinkName returns the name of the Pulsar sink

func (*PulsarSinkHandler) WriteData

func (p *PulsarSinkHandler) WriteData()

WriteData writes data to Pulsar

Jump to

Keyboard shortcuts

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