kafka

package
v0.0.0-...-a101f2f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKafkaFilter

func NewKafkaFilter(c *config.Config) (pipeline.Filter, error)

Types

type Kafka

type Kafka struct {
	Topic            string   `config:"topic"`
	BatchSize        int      `config:"batch_size"`
	BatchTimeoutInMs int      `config:"batch_timeout_in_ms"`
	RequiredAcks     int      `config:"required_acks"`
	Brokers          []string `config:"brokers"`
	// contains filtered or unexported fields
}

func (*Kafka) Filter

func (filter *Kafka) Filter(ctx *fasthttp.RequestCtx)

func (*Kafka) Name

func (filter *Kafka) Name() string

Directories

Path Synopsis
https://www.sohamkamani.com/golang/working-with-kafka/
https://www.sohamkamani.com/golang/working-with-kafka/

Jump to

Keyboard shortcuts

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