kafka

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT, Apache-2.0 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

type Kafka struct {
	Producer sarama.SyncProducer
	Topic    string
}

func (*Kafka) Close

func (lk *Kafka) Close() error

func (*Kafka) Sync

func (lk *Kafka) Sync() error

func (*Kafka) Write

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