consumer

package
v0.0.0-...-248868a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGokaConsumerGroup

func NewGokaConsumerGroup(opt GokaConsumerGroupOpt) (subscriber pubsub.Subscriber, err error)

Types

type GokaConsumerGroup

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

func (*GokaConsumerGroup) Close

func (c *GokaConsumerGroup) Close() (err error)

func (*GokaConsumerGroup) Subscribe

func (c *GokaConsumerGroup) Subscribe()

type GokaConsumerGroupOpt

type GokaConsumerGroupOpt struct {
	Brokers            []string
	Group              string
	Topic              string
	Handler            pubsub.GokaEventHandler
	TopicManagerConfig *goka.TopicManagerConfig
	InputCodec         pubsub.GokaCodec
	TableCodec         pubsub.GokaCodec
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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