package
0.0.0-20240815091139-c485ee5aa061
Repository: https://github.com/fizzse/gobase.git
Documentation: pkg.go.dev

# README

更简单易用的kafka客户端

参考 B站代码

# Functions

No description provided by the author
EventBuffer with event buffer option.
NewPublisher new a kafka publisher.
NewSubscriber new a kafka subscriber.
ReadTimeout with read timeout option.
RequiredAcks with required acks option.
WriteTimeout with write timeout option.

# Constants

RequireAll the producer will consider the write successful when all of the in-sync replicas receive the record.
RequireNone the producer won’t even wait for a response from the broker.
RequireOne the producer will consider the write successful when the leader receives the record.

# Variables

ErrEventFull is a message event chan full.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
PublisherOption is a publisher options.
SubscriberOption is a subscriber option.