kafka

package
v0.0.0-...-282181f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Segment

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

func (*Segment) Appender

func (s *Segment) Appender() (log.SegmentAppender, error)

func (*Segment) Reader

func (s *Segment) Reader() (log.SegmentReader, error)

func (*Segment) StartOffset

func (s *Segment) StartOffset() uint64

type Store

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

func Open

func Open(dir string, writeBufferSize int) *Store

func (*Store) AddSegment

func (s *Store) AddSegment(startOffset uint64) (log.Segment, error)

func (*Store) Segments

func (s *Store) Segments() ([]log.Segment, error)

Jump to

Keyboard shortcuts

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