kafka

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaManager

type KafkaManager struct {
	Topic        string
	Serializer   string
	TemplateType string
	// contains filtered or unexported fields
}

func (*KafkaManager) Close

func (k *KafkaManager) Close() error

func (*KafkaManager) CreateTopic

func (k *KafkaManager) CreateTopic(topic string)

func (*KafkaManager) CreateTopicFull

func (k *KafkaManager) CreateTopicFull(topic string, partitions int, rf int)

func (*KafkaManager) Initialize

func (k *KafkaManager) Initialize(configFile string)

func (*KafkaManager) InitializeSchemaRegistry

func (k *KafkaManager) InitializeSchemaRegistry(configFile string)

func (*KafkaManager) Produce

func (k *KafkaManager) Produce(key []byte, data []byte, o any)

Jump to

Keyboard shortcuts

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