Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCreatingConsumer = errors.New("error creating consumer")
)
consumer Errors
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewChildConsumer ¶
func NewConsumer ¶
type ConsumerOption ¶
type ConsumerOption func(*Consumer)
func WithDelayOnErrConsumerOption ¶
func WithDelayOnErrConsumerOption(d DelayOnErr) ConsumerOption
func WithEndpointConsumerOption ¶
func WithEndpointConsumerOption(end endpoint.Endpoint) ConsumerOption
func WithReconnectOnErrConsumerOption ¶
func WithReconnectOnErrConsumerOption(r ReconnectOnErr) ConsumerOption
func WithZkDriver ¶
func WithZkDriver(d driver.Driver) ConsumerOption
type DelayOnErr ¶
type ErrorHandler ¶
type ErrorHandler interface{ transport.ErrorHandler }
ErrorHandler is wrapper on top of kit.transport.ErrorHandler
type ReconnectOnErr ¶
Click to show internal directories.
Click to hide internal directories.