kafka

package
v0.0.0-...-16dfdc2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProducePipelineSize = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Addr               string
	Ln                 *net.TCPListener
	ShutdownCh         chan struct{}
	APIHandler         *handler.KafkaAPIHandler
	ConnectionsMaxIdle time.Duration
}

func NewServer

func NewServer(serverAddr string, timeout time.Duration, getter handler.LogStreamWrapperGetter, runtimeConfig *runtimeconfig.RuntimeConfig) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Start

func (s *Server) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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