kafka

package
v1.12.6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCore

func NewCore() zapcore.Core

func RegisterSink

func RegisterSink()

kafka://${token}?sercret=${sercret}

Types

type Kafka added in v1.5.11

type Kafka struct {
	Producer sarama.SyncProducer
	Topic    string
}

func (*Kafka) Close added in v1.5.11

func (lk *Kafka) Close() error

func (*Kafka) Sync added in v1.5.11

func (lk *Kafka) Sync() error

func (*Kafka) Write added in v1.5.11

func (lk *Kafka) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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