kafka

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureTopics

func EnsureTopics(client sarama.Client, topics Topics) error

func NewSchemaRegistry

func NewSchemaRegistry(kafkaClient sarama.Client, topic string, repicationFactor int16) (schema.Registry, error)

Types

type Topic

type Topic struct {
	Name              string
	NumPartitions     int32
	ReplicationFactor int16
}

type Topics

type Topics []Topic

type TopicsFunc

type TopicsFunc func(replicationFactor int16) Topics

Jump to

Keyboard shortcuts

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