Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lishuaigit opened this issue Sep 21, 2020 · 0 comments
Open

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

lishuaigit opened this issue Sep 21, 2020 · 0 comments

Comments

@lishuaigit
Copy link

lishuaigit commented Sep 21, 2020

  • 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'"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant