hermann icon indicating copy to clipboard operation
hermann copied to clipboard

A gem providing cross-platform Kafka producer and consumer support

Results 20 hermann issues
Sort by recently updated
recently updated
newest added

Right now `hermann_lib.c` has a number of calls to `fprintf` to record information/logging info to `stderr`. It really should send that information to a Ruby logger.

enhancement
MRI

It is useful to check for producer.connected? or producer.errored? before publishing messages. Otherwise we may want to create a fresh instance of producer. ``` def get_producer if @producer.nil? || @producer.errored?...

enhancement

``` ruby #Current defaults DEFAULTS = { 'partitioner.class' => 'kafka.producer.DefaultPartitioner', 'request.required.acks' => '1', 'message.send.max.retries' => '0' }.freeze ``` I'm thinking we should make: `request.required.acks` = -1 (needs ack from all...

help wanted
question
JRuby

Effectively implementing te JRuby corrolary to #95

enhancement
JRuby

This question is targeted to the MRI version, although it can be asked of JRuby as well. Is it currently possible? From a brief look at the sample code in...

enhancement

I had a misconfiguration with my Hermann consumer which caused an exception to occur: ``` Hermann::Provider::JavaSimpleConsumer#consume EXCEPTION java.lang.IllegalArgumentException: Invalid path string "/brokers/topics//auditlog_events" caused by empty node name specified @16 ```...

Useful for standing up an environment from scratch. In JRuby I can hack it with something like Java::Kafka::admin::TopicCommand.main(["--zookeeper", $zookeepers, "--create", "--topic", $topic, "--partitions", "1", "--replication-factor", "1"].to_java(:string)) But there's no workaround...

JRuby
MRI

`JavaSimpleConsumer#create_config` should really be receiving the options passed to the initializer. DERP.

bug
JRuby
MRI

Instead of calling `rd_kafka_produce` through `Herman::Lib::Producer#push_single` in a tight loop, we should call out to `rd_kafka_produce_batch` which is a better suited batch API.

enhancement
MRI

[FFI](https://github.com/ffi/ffi) looks like it has matured enough to where we could delete all the custom C code in this repository and just use FFI bindings. Couple of open questions: 1....

MRI