Commit Graph

270 Commits

Author SHA1 Message Date
R. Tyler Croy 527d08938c
Another minor version bump to clean our dependency range up 2015-09-08 07:41:45 -07:00
R. Tyler Croy ad69550d71
Bump the minor for some new functionality, at least on MRI 2015-09-08 07:40:10 -07:00
R. Tyler Croy cd58cb33cd Merge pull request #120 from mkristian/patch-1
use semantic versioning for jar-dependency runtime dependency
2015-09-08 07:31:58 -07:00
Christian Meier 763e2cce97 use semantic versioning for jar-dependency runtime dependency 2015-09-08 09:26:09 +02:00
R. Tyler Croy e276f60b27 Merge pull request #114 from zendesk/yield_key_and_offset
yield key and offset into Consumer#consume block
2015-07-01 04:49:18 -07:00
Ben Osheroff 2c99af440e surround if with braces 2015-06-30 10:51:19 -07:00
Ben Osheroff 5b8dd6feef yield key and offset into Consumer#consume block 2015-06-30 10:49:37 -07:00
R. Tyler Croy 60bc473fdd Merge pull request #118 from zendesk/namespace
REFACTOR ONLY: Namespace cleanup
2015-06-27 11:04:23 -07:00
Ben Osheroff 9edc4b9301 move hermann_lib -> hermann_rdkafka / Hermann::Provider::RDKafka 2015-06-23 09:01:31 -07:00
Ben Osheroff a9d80242dd rename hermann_lib -> hermann_rdkafka 2015-06-22 19:39:56 -07:00
R. Tyler Croy c6fe9838d7 Merge pull request #116 from rtyler/jar-dep-change
Change jar-dependencies to work with current jbundler installs
2015-06-18 18:15:51 -07: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 c5707f5515 Merge pull request #110 from zendesk/cleanup_warnings
cleanup warnings
2015-06-17 08:05:47 -07:00
Ben Osheroff 783d7dac0d cleanup a few merge-induced warnings 2015-06-16 23:45:25 -07:00
Ben Osheroff 09df7ec1b9 Merge remote-tracking branch 'upstream/master' into cleanup_warnings 2015-06-16 23:44:13 -07:00
Ben Osheroff e7fce39f83 Merge remote-tracking branch 'upstream/master' into cleanup_warnings 2015-06-16 23:42:09 -07:00
Ben Osheroff d8b8f83690 1.8.7 has no version.h 2015-06-16 20:55:55 -07:00
R. Tyler Croy 7f63e3c0d3 Merge pull request #109 from zendesk/better_postloop_cleanup
Better postloop cleanup
2015-06-15 06:55:35 -07:00
R. Tyler Croy c272bff063 Merge pull request #108 from zendesk/metadata
Add the ability to request cluster / topic metadata from the brokers
2015-06-15 06:54:31 -07:00
R. Tyler Croy 6fb9e064b4
Up the minor version for a manual deployment 2015-06-15 06:19:30 -07:00
R. Tyler Croy 4e1d359107
Remove auto-deploy until Java- specific versions can be published too 2015-06-15 06:18:02 -07:00
R. Tyler Croy 755d578a75 Merge pull request #111 from zendesk/rdkafka_0_8_6
upgrade to librdkafka 0.8.6
2015-06-15 06:00:49 -07:00
Ben Osheroff 74cba3c513 upgrade to librdkafka 0.8.6
R. Tyler's patches are included in librdkafka 0.8.6
2015-06-14 19:33:41 -07:00
Ben Osheroff 5c898144f2 cleanup warnings
- fix partition selection function
- get ruby >= 2 calling the correct no-gvl function
2015-06-13 19:47:07 -07:00
Ben Osheroff 17e5c5b31d ensure we call consumer_consume_loop_stop at the end of the loop
we need rb_ensure so that if the loop terminates in a "break" statement
we'll still call rd_kafka_consume_stop
2015-06-13 19:06:45 -07:00
Ben Osheroff 942fd87728 call rd_kafka_message_destroy right before rb_yield()
if rb_yield() ends in a "break" statement, it never returns control back
to the caller; thus we leak the message.
2015-06-13 19:05:25 -07:00
Ben Osheroff 3f0da9e0cd stop using named params in Partition#consumer 2015-06-13 14:12:57 -07:00
Ben Osheroff 0bc9e9d9ee don't destory metadata unless it's allocated 2015-06-12 18:11:34 -07:00
Ben Osheroff 83ea24a20e Merge remote-tracking branch 'upstream/master' into metadata 2015-06-11 16:22:32 -07:00
Ben Osheroff f3b6df06d3 update README.md with metadata request 2015-06-11 16:21:08 -07:00
Ben Osheroff c2540a8410 update api to have #topic(topic) as well as #topics
also add Partition#consumer to instantiate a coonsumer object on the
particular partition
2015-06-11 15:29:02 -07:00
Ben Osheroff 7edd297071 add Broker#to_s 2015-06-11 15:25:01 -07:00
R. Tyler Croy 2187463a5d Merge pull request #107 from lookout/fix-integ
fix integration tests
2015-06-01 11:50:41 -07:00
jway 2aecf369e6 fix integration tests 2015-06-01 09:42:37 -07:00
Ben Osheroff e7e1a2a7ac raise default timeout and make it configurable 2015-05-19 13:51:59 -07:00
Ben Osheroff 314ea3d8f8 fetching an empty topic doesn't work 2015-05-19 13:44:57 -07:00
Ben Osheroff 326b428b34 slap a friendlier face on the returned metadata interface 2015-05-19 13:34:39 -07:00
Ben Osheroff 7779654f36 Merge remote-tracking branch 'upstream/master' into metadata 2015-05-19 11:38:08 -07:00
Ben Osheroff 5942e1810b fix bug, constantize TIMEOUT_MS, add README.md info 2015-05-19 11:33:13 -07:00
Ben Osheroff e38b626b71 Add metadata API to Hermann::Discovery module 2015-05-19 11:13:27 -07:00
R. Tyler Croy 8c614437bf Merge pull request #106 from pocman/patch-2
Update Hacking.md with mri instructions
2015-05-19 07:54:07 -07:00
R. Tyler Croy a833a7e366 Merge pull request #105 from pocman/patch-4
Fix TypeError conversion of Array into String
2015-05-19 07:52:00 -07:00
Thomas 7100c84059 Fix TypeError conversion of Array into String
When running rake spec:integration with /fixtures/integration.yml

Hermann::Lib::Producer #connect should connect
     Failure/Error: subject(:producer) { Hermann::Lib::Producer.new(brokers) }
     TypeError: no implicit conversion of Array into String
     # ./spec/hermann_lib/producer_spec.rb:10:in `initialize'
2015-05-19 11:00:25 +02:00
Thomas 05814e4f57 Update Hacking.md with mri instructions 2015-05-19 10:33:00 +02:00
R. Tyler Croy 5142115847 Merge pull request #104 from pocman/patch-1
Add Zk discovery availablility with MRI to readme
2015-05-18 08:15:26 -07:00
Thomas 6838ec2cdf Add Zk discovery availablility with MRI to readme 2015-05-18 12:58:22 +02:00
R. Tyler Croy 6275021f11 Merge pull request #103 from lookout/retro-ruby
I've had requests to run CI against retro versions of Ruby
2015-05-07 16:39:25 -07:00
R. Tyler Croy 7b4ea2f2df Properly handle pulling in fixtures code across Ruby versions 2015-05-07 13:56: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 069150cd1f I've had requests to run CI against retro versions of Ruby 2015-05-07 11:46:16 -07:00