groupcsm

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

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

groupConsumer manages a fleet of topic consumers and disposes of those that have been inactive for the `Config.Consumer.DisposeAfter` period of time.

implements `dispatcher.Factory`. implements `dispatcher.Tier`.

func Spawn added in v0.14.0

func Spawn(parentActDesc *actor.Descriptor, childSpec dispatcher.ChildSpec,
	cfg *config.Proxy, kafkaClt sarama.Client, zkConn *zk.Conn, offsetMgrF offsetmgr.Factory,
) *T

func (*T) KeyOf

func (gc *T) KeyOf(req consumer.Request) dispatcher.Key

implements `dispatcher.Factory`.

func (*T) SpawnChild added in v0.14.0

func (gc *T) SpawnChild(childSpec dispatcher.ChildSpec)

implements `dispatcher.Factory`.

func (*T) String

func (gc *T) String() string

String return string ID of this group consumer to be posted in logs.

Jump to

Keyboard shortcuts

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