Documentation
¶
Index ¶
Constants ¶
View Source
const TOPIC_DLQ_SUFFIX = "-dlq"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelProcessorMap ¶
type ChannelProcessorMap = map[Channel]queue.JobProcessor
type ConsumerPool ¶
type ConsumerPool struct {
// contains filtered or unexported fields
}
func (*ConsumerPool) RegisterProcessor ¶
func (c *ConsumerPool) RegisterProcessor(topic string, channel string, processor queue.JobProcessor, concurrency int, dlq queue.Dlqer) error
func (*ConsumerPool) Stop ¶
func (c *ConsumerPool) Stop()
type NsqConf ¶
type NsqConf struct { Sender SenderConf Worker WorkerConf }
docker exec -it faktory_container_name redis-cli -s /var/lib/faktory/db/redis.sock
type ProducerPool ¶
func (*ProducerPool) Stop ¶
func (p *ProducerPool) Stop()
type SenderConf ¶
type SenderConf struct {
NsqdAddrs []string // []string{"127.0.0.1:4150"}
}
Click to show internal directories.
Click to hide internal directories.