kafka1

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 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 ConfigMap

type ConfigMap map[string]interface{}

type ConsumerCheckpoint

type ConsumerCheckpoint struct {
	Partition int32
	Offset    uint64
}

func (ConsumerCheckpoint) String

func (c ConsumerCheckpoint) String() string

type Sink

type Sink struct {
	Topic          string
	ProducerConfig ConfigMap
}

func (*Sink) Close

func (sink *Sink) Close(ctx *goconnect.Context) error

func (*Sink) Flush

func (sink *Sink) Flush(ctx *goconnect.Context) error

func (*Sink) InType

func (sink *Sink) InType() reflect.Type

func (*Sink) Process

func (sink *Sink) Process(input *goconnect.Element, ctx *goconnect.Context)

type Source

type Source struct {
	Topic          string
	ConsumerConfig ConfigMap
}

func (*Source) Close

func (source *Source) Close(ctx *goconnect.Context) error

func (*Source) Commit

func (source *Source) Commit(checkpoint goconnect.Watermark, ctx *goconnect.Context) error

func (*Source) OutType

func (source *Source) OutType() reflect.Type

func (*Source) Run

func (source *Source) Run(context *goconnect.Context)

Jump to

Keyboard shortcuts

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