ruby-kafka

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

Ruby

A Ruby client library for Apache Kafka

Kafka::Protocol::Decoder#array

Decodes an array from the IO object.

The provided block will be called once for each item in the array. It is
the responsibility of the block to decode the proper type in the block,
since there's no information that allows the type to be inferred
automatically.

Source | Google | Stack overflow

Edit

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

cd ruby-kafka

open lib/kafka/protocol/decoder.rb

Contribute

# Make a new branch

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


# Commit to git

git add lib/kafka/protocol/decoder.rbgit commit -m "better docs for Kafka::Protocol::Decoder#array"


# 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--Decoder-array-for-pr

hub pull-request


# Celebrate!