connector

package
v0.0.0-...-a0fe4de Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector(hosts []string, options Options) *Connector

func (*Connector) Connect

func (connector *Connector) Connect() error

func (*Connector) GetConsumerGroup

func (connector *Connector) GetConsumerGroup() sarama.ConsumerGroup

type Options

type Options struct {
	ClientName string
}

Jump to

Keyboard shortcuts

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