Skip to content

Commit

Permalink
Track latest bunny gem
Browse files Browse the repository at this point in the history
More information about the latest version of bunny can be found
here: https://github.com/ruby-amqp/bunny#changes-in-bunny-09
  • Loading branch information
zaccari committed Jan 31, 2013
1 parent c92ae36 commit 4867a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logstash.gemspec
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency "aws-sdk"
gem.add_runtime_dependency "heroku"
gem.add_runtime_dependency "addressable", ["~> 2.2.6"]
gem.add_runtime_dependency "bunny", ["~> 0.8.0"]
gem.add_runtime_dependency "bunny", [">= 0.9.0.pre6"]
gem.add_runtime_dependency "ffi"
gem.add_runtime_dependency "ffi-rzmq", ["0.9.3"]
gem.add_runtime_dependency "filewatch", ["0.5.0"]
Expand Down

10 comments on commit 4867a89

@vpernin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the 0.9.0.pre6 a stable release ?
I know nothing about bunny guys process and habits.

@zaccari
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like 0.9 will be released soon, which we can wait until then to add this commit. In the mean time, I added the 0.9 pre for testing - more information on the 0.8 -> 0.9 change can be found here: https://github.com/ruby-amqp/bunny#changes-in-bunny-09.

@jkoppe
Copy link

@jkoppe jkoppe commented on 4867a89 Apr 24, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd caution against upgrading dependencies unless we make sure that logstash is compatible. This commit was released in logstash 1.1.10 which broke the amqp inputs and outputs. I'll be fixing logstash to work with the newer bunny which was upgraded in 8d9a3d8 in https://logstash.jira.com/browse/LOGSTASH-1003.

EDIT: That being said, the ideal is to have tests so that upgrading CAN be done like this, but the rabbitmq (formerly amqp) input and outputs don't have sufficient tests.

@jkoppe
Copy link

@jkoppe jkoppe commented on 4867a89 Apr 24, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies. It looks like there's been quite a bit more activity in https://github.com/logstash/logstash/commits/master/lib/logstash/inputs/rabbitmq.rb that I totally missed when I complained earlier. There are more than a few with rabbitmq which seem to be broken at this point :( Will put as much as I can find in LOGSTASH-1003.

@jordansissel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the first step is to build tests to ensure functionality is kept over time?

@vpernin
Copy link

@vpernin vpernin commented on 4867a89 Apr 24, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkoppe
Copy link

@jkoppe jkoppe commented on 4867a89 Apr 24, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vpernin: see my most recent comment on https://logstash.jira.com/browse/LOGSTASH-1003. we should probably move the entire conversation there.

@rasputnik
Copy link
Contributor

@rasputnik rasputnik commented on 4867a89 Apr 24, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zaccari
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies on this, let me know if I can help

@rasputnik
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mzaccari : no worries, things have to move forwards :) - still unsure if it's a widespread issue or not.

Please sign in to comment.