streamer

package
v0.0.0-...-ab40c3c Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Worker

func Worker(cfg *config.AppConfig, inP pipe.Pipe, outPipes *map[string]pipe.Pipe) bool

Worker : Initializer function

Types

type Streamer

type Streamer struct {
	BytesWritten int64
	BytesRead    int64
	// contains filtered or unexported fields
}

Streamer struct defines common properties of Event streamer worker

func (*Streamer) StreamTable

func (s *Streamer) StreamTable(consumer pipe.Consumer) bool

StreamTable attempts to acquire a lock on a table partition and streams events from that table partition while periodically updating its state of the last kafka offset consumed

Jump to

Keyboard shortcuts

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