kafkaflow

package
v0.0.0-...-891ad17 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpperApp

func NewUpperApp() *goflow.Graph

NewUpperApp wires together the compoents

Types

type Printer

type Printer struct {
	flow.Component
	Line <-chan string
}

Printer is a component for printing to stdout

func (*Printer) Process

func (p *Printer) Process()

Process Prints the current line received

type Upper

type Upper struct {
	Val <-chan string
	Res chan<- string
}

Struct for upper cases of the incoming stream

func (*Upper) Process

func (e *Upper) Process()

Process loops over the input values and writes the upper case string version of them to Res

Jump to

Keyboard shortcuts

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