kafkatest

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Topic     string
	Partition int32
	Offset    int64
	Key       string
	Message   string
}

type Server

type Server struct {
	Addr net.Addr
	// contains filtered or unexported fields
}

Provides an incomplete Kafka Server implementation. Records messages sent via the ProduceRequest and responds to MetadataRequests as the only broker.

func NewServer

func NewServer() (*Server, error)

func (*Server) Close

func (s *Server) Close()

func (*Server) Messages

func (s *Server) Messages() ([]Message, error)

Jump to

Keyboard shortcuts

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