R. Tyler Croy
228358edc1
Add a failing integration test for pumping protobufs through Hermann
2014-10-30 10:46:18 -07:00
R. Tyler Croy
7f4de34be0
Refactor the Hermann::Producer Java-based integration test to respect integration.yml
...
I've also refactored/cleaned it up a bit to make sure it runs properly on my machine
2014-10-30 10:46:18 -07:00
R. Tyler Croy
3c9c234c43
Update the Hermann::Discovery::Zookeeper API to return an Array of brokers more suitable for Hermann::Producer
2014-10-30 10:05:34 -07:00
R. Tyler Croy
8400cfdc15
Add support for spec:integration to ignore MRI and Java cases off their respective platforms
2014-10-30 09:47:11 -07:00
R. Tyler Croy
3b3b100c0d
Add protobuffy as a development dep
2014-10-29 20:53:03 -07:00
R. Tyler Croy
3264ce1b23
Merge pull request #69 from lookout/fix-producer
...
Pass string to JavaProducer
2014-10-29 19:05:23 -07:00
jway
132dbb94a9
pass string to JavaProducer
2014-10-29 16:59:34 -07:00
R. Tyler Croy
c3f5744568
Bump the version for 0.19 milestone
2014-10-28 20:50:13 -07:00
R. Tyler Croy
d2ef453494
Tick the underlying librdkafka reactor on each subsequent Hermann::Producer#push call
...
References #48
2014-10-28 20:47:25 -07:00
R. Tyler Croy
4ea21d5add
Account for a subtle internal API change between the C and Java Producers
2014-10-28 18:18:05 -07:00
R. Tyler Croy
433b739e45
Add a small note about consumer thread-safety
2014-10-28 18:14:43 -07:00
R. Tyler Croy
6cbceead8b
Wrap the brokers array in a threadsafe array
...
References #50
2014-10-28 18:13:20 -07: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
R. Tyler Croy
0cd921298e
Merge pull request #67 from lookout/fix_integration
...
Fix integration tests
2014-10-28 12:32:20 -07:00
jway
69202c21b2
allow integration test to run only in jruby
2014-10-28 11:14:14 -07:00
jway
b48698035b
update integration example with zookeepers
2014-10-28 08:35:33 -07:00
R. Tyler Croy
0526361011
Merge pull request #63 from lookout/add_shutdown
...
add shutdown
2014-10-28 08:25:19 -07:00
jway
9acce0a64b
add shutdown
...
* producer/consumer integration tests
2014-10-27 21:16:17 -07:00
R. Tyler Croy
1f52bad871
Merge pull request #62 from lookout/consume_topic
...
Allow passing topic into consume method
2014-10-27 14:04:10 -07:00
R. Tyler Croy
f0b019ed69
Update the C provider to accept a topic into the consume method
...
Note: this doesn't actually do anything just yet
2014-10-27 09:42:01 -07:00
jway
5e0079ce05
allow passing topic into consume method
2014-10-25 09:12:47 -07:00
R. Tyler Croy
0cc02f40b7
Merge pull request #61 from rtyler/issues/58-java-exception
...
Wrap calls to the underlying Java producer with Ruby-based exceptions
2014-10-24 12:32:06 -07:00
R. Tyler Croy
8c01040f5d
Wrap calls to the underlying Java producer with some Ruby-based exception handling
...
Fixes #58
2014-10-24 11:47:51 -07:00
R. Tyler Croy
b48333524c
Merge pull request #59 from lookout/java_consumer
...
Simple java consumer
2014-10-24 10:29:38 -07:00
jway
972fe47410
add simple java consumer
2014-10-24 10:07:27 -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
afae55c93c
Only depend on the compile rake task when building on MRI
2014-10-15 12:33:25 -07:00
R. Tyler Croy
0a1d9efd61
Merge pull request #55 from lookout/reap_java_children
...
add reaping of java promises
2014-10-15 12:32:39 -07:00
R. Tyler Croy
e0070b942b
Properly reap children in tests on MRI and Java
...
Fixes #54
2014-10-15 12:21:29 -07:00
jway
63c64f8ea3
add reaping of java promises
2014-10-15 11:32:51 -07:00
R. Tyler Croy
2c1494a18e
Make jar-dependencies a non-runtime dependency
2014-10-14 15:57:20 -07:00
R. Tyler Croy
1c23c2081f
Add travis build status to the README
2014-10-14 15:31:25 -07:00
R. Tyler Croy
579b66d369
Merge pull request #52 from lookout/pass_opts
...
allow user to pass in opts
2014-10-14 15:27:10 -07:00
jway
9ca7340b21
allow user to pass in opts
2014-10-14 15:17:54 -07:00
R. Tyler Croy
4261907955
Treat empty Content-Length headers as retryable errors for mitigating github.com brokeness
...
Periodically we'll get 200 OK responses with not Content-Length header when
trying to download from github.com, this will treat it as a retry
Fixes #40
2014-10-14 11:24:38 -07:00
R. Tyler Croy
9052cf73d5
Merge pull request #53 from rtyler/fix-49
...
Properly propagate the optionally passed in topic on #push
2014-10-14 11:13:33 -07:00
R. Tyler Croy
249f2739a7
Properly propagate the optionally passed in topic on #push when recursing through Arrays
...
This commit also moves tests back out of the platform specific scope and makes
the internal #push_single API more consistent to alllow easier testing.
Fixes #49
2014-10-14 10:54:52 -07:00
R. Tyler Croy
d87608645f
Merge pull request #51 from rtyler/mri-multi-topics
...
Multiple topics for MRI
2014-10-14 10:26:25 -07:00
R. Tyler Croy
b0d3bbffe3
Avoid adding non-existent children to our internal list.
...
This really only affects testing where we might be returning nil after a
push_single expectation has been met
2014-10-14 10:19:10 -07:00
R. Tyler Croy
beb8c4764d
Add a much more verbose download_file_http method for mini_portile
...
This should help isolate the bug we're seeing in #40 which seem to stem from
GitHub serving invalid packages
2014-10-14 09:53:42 -07:00
R. Tyler Croy
5b6fa5075f
Support passing in a topic for every #push in MRI
...
This commit also fixes a memory leak with the JRuby version of the gem where we
were not properly cleaning up children objects and holding onto references of
them forever
Fixes #46
2014-10-14 09:51:24 -07:00
R. Tyler Croy
0b5a9b4de5
Ignore some jbundler related working state
2014-10-14 08:59:37 -07:00
R. Tyler Croy
4bb3d12f5d
Merge pull request #47 from lookout/topic_push
...
Allow java producer push to change topics
2014-10-13 15:48:48 -07:00
jway
a6a1148221
allow java producer push to change topics
2014-10-13 15:17:10 -07:00
R. Tyler Croy
3c8ae75252
Merge pull request #45 from lookout/update_readme
...
update readme with jruby-kafka conversion instructions
2014-10-10 16:38:51 -07:00
jway
676e9c54ea
update readme with jruby-kafka conversion instructions
2014-10-10 15:26:19 -07:00
R. Tyler Croy
2009226ae3
Update the README with producer usage for the "new way"
...
Fixes #26
2014-10-10 14:32:41 -07:00
R. Tyler Croy
7b010a857b
Merge pull request #44 from lookout/connect_zk
...
Lookup Kafka brokers from Zookeeper
2014-10-10 11:53:09 -07:00
jway
cd16650ad7
refactor zookeeper lookup into Discovery class
2014-10-10 11:12:22 -07:00
jway
354fbde7fa
add zookeeper broker lookup to Java provider
2014-10-08 15:25:32 -07:00