kafka

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 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, replicationFactor int16) (schema.Registry, error)

Types

type Topic

type Topic struct {
	Name              string
	NumPartitions     int32
	ReplicationFactor int16
	Config            map[string]*string
}

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