nsq

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package nsq provides an NSQ broker

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConcurrentHandlers = 1
)

Functions

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

func WithAsyncPublish added in v0.12.0

func WithAsyncPublish(doneChan chan *nsq.ProducerTransaction) broker.PublishOption

func WithConcurrentHandlers added in v0.12.0

func WithConcurrentHandlers(n int) broker.SubscribeOption

func WithConsumerOpts added in v0.12.0

func WithConsumerOpts(consumerOpts []string) broker.Option

func WithDeferredPublish added in v0.12.0

func WithDeferredPublish(delay time.Duration) broker.PublishOption

func WithLookupdAddrs added in v0.12.0

func WithLookupdAddrs(addrs []string) broker.Option

func WithMaxInFlight added in v0.12.0

func WithMaxInFlight(n int) broker.SubscribeOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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