ruby-kafka

https://github.com/zendesk/ruby-kafka

Ruby

A Ruby client library for Apache Kafka

Kafka::Protocol.handle_error

Handles an error code by either doing nothing (if there was no error) or
by raising an appropriate exception.

Source | Google | Stack overflow

Edit

git clone [email protected]:zendesk/ruby-kafka.git

cd ruby-kafka

open lib/kafka/protocol.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Kafka--Protocol-handle_error-for-pr


# Commit to git

git add lib/kafka/protocol.rbgit commit -m "better docs for Kafka::Protocol.handle_error"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Kafka--Protocol-handle_error-for-pr

hub pull-request


# Celebrate!