kafkamod

package
v0.0.0-...-d989180 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Key   string
	Value []byte
}

type Message

type Message struct {
	TopicPartition TopicPartition
	Value          []byte
	Key            []byte
	Headers        []Header
	Timestamp      time.Time
	Metadata       *string
}

func (Message) KafkaHeaders

func (m Message) KafkaHeaders() []kafka.Header

func (Message) KafkaTopicPartition

func (m Message) KafkaTopicPartition() (tp kafka.TopicPartition)

type TopicPartition

type TopicPartition struct {
	Topic     string
	Partition int32
	Offset    int64
}

Jump to

Keyboard shortcuts

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