inflight

package
v0.0.0-...-077b43f Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Deprecated pkg Package inflight provides storage for manipulating inflight message offsets.

server               client
  |                    |
  |               Sub  |
  |<-------------------|
  |                    |
  | Ok/TakeOff(1)      |
  |------------------->|
  |                    |
  |        Sub/Land(1) |
  |<-------------------|
  |                    |
  | Ok/TakeOff(2)      |
  |------------------->|
  |                    |
  |        Sub/Land(2) |
  |<-------------------|
  |                    |

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOutOfOrder = errors.New("out of order inflight offset")
)

Functions

This section is empty.

Types

type Inflight

type Inflight interface {
	Land(cluster, topic, group, partition string, offset int64) error

	LandX(cluster, topic, group, partition string, offset int64) ([]byte, error)

	TakeOff(cluster, topic, group, partition string, offset int64, msg []byte) error

	Init() error
	Stop() error
}
var Default Inflight

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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