kafka

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Overview

Package kafka provides a kafka broker using sarama cluster

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBrokerConfig  = sarama.NewConfig()
	DefaultClusterConfig = sc.NewConfig()
)

Functions

func BrokerConfig added in v0.13.0

func BrokerConfig(c *sarama.Config) broker.Option

func ClusterConfig added in v0.13.0

func ClusterConfig(c *sc.Config) broker.Option

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

Types

This section is empty.

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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