kafka

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("kafka")

Functions

func InitConsumer

func InitConsumer(brokerURL, groupId, autoOffReset, securityProtocol, caLocation, certLocation, keyLocation, keyPassword, saslUsername, saslPassword, saslMechanism string) (*kafka.Consumer, error)

func Initialize

func Initialize() (*kafka.Consumer, error)

func ReqConsumer

func ReqConsumer(c *kafka.Consumer, topic string, partition int32) (kafka.TopicPartitions, []*kafka.Message, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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