mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- disable durable for now
This commit is contained in:
parent
0acb1d13f3
commit
240ff18dce
1 changed files with 4 additions and 3 deletions
|
@ -34,11 +34,12 @@ class LogStash::Inputs::Amqp
|
|||
@target = @mq.queue(UUIDTools::UUID.timestamp_create)
|
||||
case @type
|
||||
when "fanout"
|
||||
@target.bind(MQ.fanout(@url.path, :durable => true))
|
||||
#@target.bind(MQ.fanout(@url.path, :durable => true))
|
||||
@target.bind(MQ.fanout(@url.path))
|
||||
when "direct"
|
||||
@target.bind(MQ.direct(@url.path, :durable => true))
|
||||
@target.bind(MQ.direct(@url.path))
|
||||
when "topic"
|
||||
@target.bind(MQ.topic(@url.path, :durable => true))
|
||||
@target.bind(MQ.topic(@url.path))
|
||||
end # case @type
|
||||
|
||||
@target.subscribe(:ack => true) do |header, message|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue