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
R. Tyler Croy
23e4cb41d9
Merge pull request #43 from rtyler/platform-specific-specs
...
Clean up RSpecs to run the platform-specific tests in the right runtime
2014-10-08 11:07:04 -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
R. Tyler Croy
d2d99c1e0b
Avoid building the C extension on JRuby
2014-10-08 10:10:08 -07:00
R. Tyler Croy
c6779d8f56
Add JRuby to the list of rubies we should test on
2014-10-08 09:54:19 -07:00
R. Tyler Croy
4cfb92b697
Clean up the execution of RSpecs to run the platform-specific tests in the right place
2014-10-08 09:45:07 -07:00
R. Tyler Croy
05a147444d
Remove Gemfile.lock which will now be dependent on the version of Ruby
...
The contents will be wildly different depending on an MRI vs. JRuby-based installation
2014-10-07 17:39:12 -07:00
R. Tyler Croy
287e350161
Merge pull request #42 from lookout/execute_promise
...
Push method returns executing Promise
2014-10-07 15:41:20 -07:00
jway
3151b3ef4b
push method returns executing Promise
2014-10-07 15:27:36 -07:00
R. Tyler Croy
a08cfaa155
Merge pull request #41 from jamescway/add-jruby-producer
...
Java Producer Provider
2014-10-06 16:07:08 -07:00
jway
06dda845b8
add rdoc
2014-10-06 13:46:00 -07:00