Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInputChannelBlocked = errors.New("input channel blocked")
)
Functions ¶
func DefaultProducerConfig ¶
Types ¶
type KafkaWriter ¶
type KafkaWriter struct {
// contains filtered or unexported fields
}
func NewKafkaWriter ¶
func NewKafkaWriter(config KafkaConfig, fail func(msg []byte, err error), success func(msg []byte)) (*KafkaWriter, error)
func (*KafkaWriter) Sync ¶
func (ws *KafkaWriter) Sync() error
Click to show internal directories.
Click to hide internal directories.