Commit Graph

26 Commits

Author SHA1 Message Date
R. Tyler Croy 7e8fbca79e Add thread_safe for handling the @children inside of Hermann::Producer
This isn't comprehensive, still debating a comprehensive approach to #50 that
I'm happy with

References #50
2014-10-28 18:00:29 -07:00
jway 9acce0a64b add shutdown
* producer/consumer integration tests
2014-10-27 21:16:17 -07:00
R. Tyler Croy 3c0550151d Specify the Java platform when building on JRuby 2014-10-15 12:42:15 -07:00
R. Tyler Croy 2c1494a18e Make jar-dependencies a non-runtime dependency 2014-10-14 15:57:20 -07:00
jway 354fbde7fa add zookeeper broker lookup to Java provider 2014-10-08 15:25:32 -07:00
R. Tyler Croy 32bb2f92bc Remove support for Ruby 1.8.7
It's like, a million times dead. Concurrent Ruby won't support it which forces our hand though.
2014-10-08 10:40:59 -07:00
jway b898709042 first pass adding java kafka provider 2014-10-03 12:38:38 -07:00
R. Tyler Croy 5de9612882 Bundle a known good version of librdkafka (0.8.4) with Hermann
This reduces the need for the librdkafka system dependency and results in
statically linking librdkafka.a against the C extension.

There's a few hacks in extconf.rb specifically to deal with librdkafka's build
system, as well as apply checksumming to the downloaded file

Fixes #8
2014-09-12 16:13:19 -07:00
R. Tyler Croy e241f086ee Restructure the Hermann gem extension build process to use rake-compiler
This is a little bit better and cleaner IMO than the hand-crafted rake tasks.

Would you like to know more? <https://github.com/luislavena/rake-compiler>
2014-08-29 18:37:10 -07:00
R. Tyler Croy 9a24317c7f Major rework of the gemspec
This change:

 - removes the platform specific binding (Ruby will run extconf.rb on platforms)
 - adds myself to the authors
 - Pulls version from the gem itself
 - includes all the files in lib that are added to the git tree
2014-08-29 13:52:36 -07:00
R. Tyler Croy 3efa2c481b Avoid packaging the gem with a spurious object file 2014-08-29 13:47:49 -07:00
Stan Campbell d51050c3a6 Merge remote-tracking branch 'upstream/wip/PART-3886'
Conflicts:
	hermann.iml
2014-08-19 14:18:55 -07:00
Stan Campbell 1185d54ff1 Add bulletproofing around the management of config->rk and config->rkt kafka handles.
Avoid dereferencing or freeing null handles for Consumer and Producer classes.

JIRA: PART-3886
2014-08-19 13:32:32 -07:00
Abhi Yerra 9d4e06c394 Remove unnecessary code in gemspec 2014-08-18 13:42:14 -07:00
Stan Campbell 8750406502 Add MIT license to Gemspec. 2014-07-25 12:50:20 -07:00
Stan Campbell 80754f6296 Remove bogus binaries from commit. 2014-07-22 11:37:41 -07:00
Stan Campbell 9c04fb1bc1 Add call to rb_thread_blocking_region to release the Ruby GVM lock and allow other threads to execute while we await IO from Kafka. 2014-06-20 10:52:50 -07:00
Stan Campbell d9c2a93ec8 Add partition and brokers list configuration to the constructors for both Consumer and Producer. 2014-06-16 11:12:44 -07:00
Stan Campbell 3137b21b55 Comment update. 2014-06-13 11:27:33 -07:00
Stan Campbell aed11dcfac Update documentation and gem version readying for release. 2014-06-13 10:47:34 -07:00
Stan Campbell dea6483f0d Initial creation of the Consumer configuration struct and management under Ruby. 2014-06-03 15:56:55 -07:00
Stan Campbell b4e627d80b Implement the stateless version of Producer.push 2014-06-02 12:52:20 -07:00
Stan Campbell 26be9f448f Add in Producer behavior. 2014-06-02 12:47:25 -07:00
Stan Campbell a497f9e911 Enabling the Consumer to yield results from Consumer.consume if provided with a block. 2014-05-30 18:50:24 -07:00
Stan Campbell 5aa90d8ba2 Remove the constraint on RubyGems version to allow the gem to work with 1.8 Ruby. 2014-05-30 13:35:10 -07:00
Stan Campbell 937eaea8fc Initial files commit. Consumer working from Hermann::Consumer. 2014-05-30 12:58:38 -07:00