Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisConsumerProvider ¶
func NewRedisConsumerProvider(logger logging.Logger, tracerProvider tracing.TracerProvider, metricsProvider metrics.Provider, cfg Config) messagequeue.ConsumerProvider
NewRedisConsumerProvider returns a ConsumerProvider for a given address.
func NewRedisPublisherProvider ¶
func NewRedisPublisherProvider(l logging.Logger, tracerProvider tracing.TracerProvider, metricsProvider metrics.Provider, cfg Config) messagequeue.PublisherProvider
NewRedisPublisherProvider returns a PublisherProvider for a given address.
Types ¶
type Config ¶
type Config struct {
Username string `env:"USERNAME" json:"username" yaml:"username"`
Password string `env:"PASSWORD" json:"password,omitempty" yaml:"password,omitempty"`
QueueAddresses []string `env:"QUEUE_ADDRESSES" json:"queueAddresses" yaml:"queueAddresses"`
}
Config configures a Redis-backed consumer.
Click to show internal directories.
Click to hide internal directories.