kafka

package
v0.0.0-...-0ce6385 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback struct {
	// contains filtered or unexported fields
}

func NewCallback

func NewCallback(slow bool, c chan<- Message) *Callback

func (*Callback) Callback

func (c *Callback) Callback(msg *sarama.ConsumerMessage, logger *log.Entry) (bool, error)

type Message

type Message struct {
	Offset    int64
	TimeStamp time.Time
	Partition int32
}

func (*Message) String

func (c *Message) String() string

Jump to

Keyboard shortcuts

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