Julien Feltesse
587f3be16e
depend on concurrent-ruby ~> 1.0.0
2016-02-24 18:19:06 +09:00
R. Tyler Croy
1c7543f730
Upgrade to a Kafka (JVM) version which uses Scala 2.11
...
Scala 2.10 is three years old and it appears to me tha 2.10 is moderately
broken and old, at that 2.11 is the bare minimum folks should be using these
days (see also: https://github.com/twitter/scrooge/pull/198 )
2015-09-28 08:43:50 -07:00
R. Tyler Croy
9d5b773542
Properly include hermann_jars.rb in the built gem but exclude from the tree
2015-09-23 13:19:40 -07:00
Christian Meier
763e2cce97
use semantic versioning for jar-dependency runtime dependency
2015-09-08 09:26:09 +02:00
R. Tyler Croy
45fe45cb96
Remove the exclusion syntax from the kafka jar-dependency which breaks in the latest jbundler
...
The version of jar-dependencies we were testing against was yanked and with
jbundler and jar-dependencies (0.7.[3-4] and 0.1.10 respectively) I cannot get
Hermann to successfully install with jbundler
2015-06-18 17:11:36 -07:00
R. Tyler Croy
3fda5ec3f3
Rework the dependencies and some of the code to support retro rubies better
2015-05-07 13:18:41 -07:00
R. Tyler Croy
e99c657144
Add suppor for auto-releasing to rubygems.org from travis
2015-04-08 12:55:19 -07:00
Dirk Koehler
3b03658220
Bring back Jarfile and remove curator from dependency
2015-03-27 17:25:31 -07:00
Dirk Koehler
163c9d70c6
Cleanup jar dependencies
...
- move Jarfile dependency into gemspec
- upgrade curator to 2.7.1
- fix tests
- remove transient dependencies
2015-03-26 22:58:13 -07:00
R. Tyler Croy
136e0ace47
Add suppot for optionally using Curator if it's on the classpath for broker discovery
...
This change makes the loading of the 'zk' gem optional and implicit, as well as
the reliance on Curator being available in the JRuby runtime's classpath.
If neither Zookeeper client implementation are available, an exception will be
raised when attmepting to use Zookeeper-based discovery
Fixes #75
2014-11-21 18:06:56 -08:00
R. Tyler Croy
c46156a7d1
Move the `zk` gem from a explicit gem dependency to an implicit dependency
...
This will give us some optionality on how we want to reach out and contact
Zookeeper across multiple environments. See #75
2014-11-21 15:16:01 -08:00
R. Tyler Croy
c6ab5e760c
Force a more recent version of log4j as a jar dependency
...
The log4j has distributed some bad packages in the past but this release looks
safe to include
2014-11-12 08:53:44 -08:00
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