Sha256: eda128bde258feb4adf8d91d48b7bf891b278f9f1daa617a02c3da4a0e97d65b

Contents?: true

Size: 938 Bytes

Versions: 9

Compression:

Stored size: 938 Bytes

Contents

# Rdkafka

The `rdkafka` gem is a modern Kafka client library for Ruby based on
[librdkafka](https://github.com/edenhill/librdkafka/).
It wraps the production-ready C client using the [ffi](https://github.com/ffi/ffi)
gem and targets Kafka 0.10+ and Ruby 2.1+.

This gem only provides a high-level Kafka consumer. If you are running
an older version of Kafka and/or need the legacy simple consumer we
suggest using the [Hermann](https://github.com/reiseburo/hermann) gem.

## Development

Run `bundle` and `cd ext && bundle exec rake compile && cd ..`. Then
create the topics as expected in the specs: `bundle exec rake create_topics`.

You can then run `bundle exec rspec` to run the tests. To see rdkafka
debug output:

```
DEBUG_PRODUCER=true bundle exec rspec
DEBUG_CONSUMER=true bundle exec rspec
```

To see everything working run these in separate tabs:

```
bundle exec rake consume_messages
bundle exec rake produce_messages
```

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rdkafka-0.1.9 README.md
rdkafka-0.1.8 README.md
rdkafka-0.1.7 README.md
rdkafka-0.1.6 README.md
rdkafka-0.1.5 README.md
rdkafka-0.1.4 README.md
rdkafka-0.1.3 README.md
rdkafka-0.1.2 README.md
rdkafka-0.1.1 README.md