Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Snappy compression to the Consumer, and added compr…
…ession (Snappy and GZip) to the Producer and MultiProducer. To enable snappy compression, include the following in your Gemfile (This branch is necessary until a pending pull request is accepted): gem "snappy", "0.0.4", :git => "git://github.com/watersofoblivion/snappy.git", :branch => "snappy-streaming"
- Loading branch information
Bob Cotton
authored and
Jonathan Bryant
committed
Dec 11, 2012
1 parent
7bd4bf3
commit f4eda48
Showing
16 changed files
with
372 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,6 @@ | |||
source 'https://rubygems.org' | |||
|
|||
# Specify your gem's dependencies in foo.gemspec | |||
gemspec | |||
|
|||
gem "rake" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,29 @@ | |||
Gem::Specification.new do |s| | |||
s.name = %q{kafka-rb} | |||
s.version = "0.0.12" | |||
|
|||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | |||
s.authors = ["Alejandro Crosa", "Stefan Mees", "Tim Lossen", "Liam Stewart"] | |||
s.autorequire = %q{kafka-rb} | |||
s.date = Time.now.strftime("%Y-%m-%d") | |||
s.description = %q{kafka-rb allows you to produce and consume messages using the Kafka distributed publish/subscribe messaging service.} | |||
s.extra_rdoc_files = ["LICENSE"] | |||
s.files = ["LICENSE", "README.md", "Rakefile"] + Dir.glob("lib/**/*.rb") | |||
s.test_files = Dir.glob("spec/**/*.rb") | |||
s.homepage = %q{http://github.com/acrosa/kafka-rb} | |||
s.require_paths = ["lib"] | |||
s.summary = %q{A Ruby client for the Kafka distributed publish/subscribe messaging service} | |||
|
|||
if s.respond_to? :specification_version then | |||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | |||
s.specification_version = 3 | |||
|
|||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | |||
s.add_development_dependency(%q<rspec>, [">= 0"]) | |||
else | |||
s.add_dependency(%q<rspec>, [">= 0"]) | |||
end | |||
else | |||
s.add_dependency(%q<rspec>, [">= 0"]) | |||
end | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.