kafka_file

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Topics    []string
	Brokers   []string
	FilesDir  string
	Count     int
	RetTime   string
	Partition int
}

Config for kafka-file plugin e2e test

func (*Config) Configure

func (c *Config) Configure(t *testing.T, conf *cfg.Config, pipelineName string)

Configure sets additional fields for input and output plugins

func (*Config) Send

func (c *Config) Send(t *testing.T)

Send creates a Partition of messages (one for each partition) and sends them Count times to kafka

func (*Config) Validate

func (c *Config) Validate(t *testing.T)

Validate waits for the message processing to complete

Jump to

Keyboard shortcuts

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