kafka

package
v2.47.0-RC3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 13 Imported by: 0

Documentation

Overview

Package kafka contains integration tests for cross-language Kafka IO transforms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPipeline added in v2.34.0

func ReadPipeline(expansionAddr, bootstrapAddr, topic string, inputs []int) *beam.Pipeline

ReadPipeline creates a pipeline that reads ints from Kafka and asserts that they match a given slice of ints. This reads a number of records equal to the length of the given slice.

func WritePipeline added in v2.34.0

func WritePipeline(expansionAddr, bootstrapAddr, topic string, inputs []int) *beam.Pipeline

WritePipeline creates a pipeline that writes a given slice of ints to Kafka.

Types

This section is empty.

Jump to

Keyboard shortcuts

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