Add option to disconnect after a message limit is reached in amqp output
This commit is contained in:
committed by
Daniel Nelson
parent
179bcfdcbb
commit
da6ad34fc8
@@ -50,7 +50,7 @@ The following defaults are known to work with RabbitMQ:
|
||||
binding_key = "#"
|
||||
|
||||
## Maximum number of messages server should give to the worker.
|
||||
prefetch_count = 50
|
||||
# prefetch_count = 50
|
||||
|
||||
## Auth method. PLAIN and EXTERNAL are supported
|
||||
## Using EXTERNAL requires enabling the rabbitmq_auth_mechanism_ssl plugin as
|
||||
|
||||
@@ -100,11 +100,12 @@ func (a *AMQPConsumer) SampleConfig() string {
|
||||
|
||||
## AMQP queue name
|
||||
queue = "telegraf"
|
||||
|
||||
## Binding Key
|
||||
binding_key = "#"
|
||||
|
||||
## Maximum number of messages server should give to the worker.
|
||||
prefetch_count = 50
|
||||
# prefetch_count = 50
|
||||
|
||||
## Auth method. PLAIN and EXTERNAL are supported
|
||||
## Using EXTERNAL requires enabling the rabbitmq_auth_mechanism_ssl plugin as
|
||||
|
||||
Reference in New Issue
Block a user