Skip to content

Error when enable SAC(single active consumer) on a queue  #35

@lishuaigit

Description

@lishuaigit
  • Version:
    logstash-7.7.0

  • Operating System:
    CentOS Linux release 7.1.1503

  • Config File:
    input{
    rabbitmq{
    ...
    arguments => {"x-single-active-consumer"=> true }
    }
    }

  • Sample Data:

  • Steps to Reproduce:
    when started, i got warn message, it seems that the type of "x-single-active-consumer" is not bool.
    but my config is true not "true"

[2020-09-19T16:20:32,508][WARN ][logstash.inputs.rabbitmq ][main][d57ca799b361a4e4fd873b803117f80df523979f6d5c3c183faa9e437307ff14] Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-single-active-consumer' for queue ‘xxx' in vhost '/': received 'true' but current is 'true', class-id=50, method-id=10)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/data/server/logstash-7.7.0/vendor/bundle/jruby/2.5.0/gems/march_hare-4.1.1-java/lib/march_hare/exceptions.rb:121:in `convert_and_reraise'"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions