kafka

package
v3.0.0-...-16f56ce Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 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

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

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