tile38/vendor/github.com/Shopify/sarama
tidwall cfc65a13f6 Refactor repository and build scripts
This commit includes updates that affects the build, testing, and
deployment of Tile38.

- The root level build.sh has been broken up into multiple scripts
  and placed in the "scripts" directory.

- The vendor directory has been updated to follow the Go modules
  rules, thus `make` should work on isolated environments. Also
  some vendored packages may have been updated to a later
  version, if needed.

- The Makefile has been updated to allow for making single
  binaries such as `make tile38-server`. There is some scaffolding
  during the build process, so from now on all binaries should be
  made using make. For example, to run a development version of
  the tile38-cli binary, do this:
     make tile38-cli && ./tile38-cli
  not this:
     go run cmd/tile38-cli/main.go

- Travis.CI docker push script has been updated to address a
  change to Docker's JSON repo meta output, which in turn fixes
  a bug where new Tile38 versions were not being properly pushed
  to Docker
2019-11-18 10:33:15 -07:00
..
.gitignore Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
.travis.yml Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
CHANGELOG.md Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
LICENSE Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
Makefile Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
README.md Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
Vagrantfile Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
api_versions_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
api_versions_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
async_producer.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
broker.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
client.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
config.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
consumer.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
consumer_group_members.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
consumer_metadata_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
consumer_metadata_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
crc32_field.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
describe_groups_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
describe_groups_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
dev.yml Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
encoder_decoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
errors.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
fetch_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
fetch_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
heartbeat_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
heartbeat_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
join_group_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
join_group_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
leave_group_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
leave_group_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
length_field.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
list_groups_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
list_groups_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
message.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
message_set.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
metadata_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
metadata_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
metrics.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
mockbroker.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
mockresponses.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_commit_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_commit_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_fetch_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_fetch_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_manager.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
offset_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
packet_decoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
packet_encoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
partitioner.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
prep_encoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
produce_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
produce_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
produce_set.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
real_decoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
real_encoder.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
response_header.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sarama.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sasl_handshake_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sasl_handshake_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sync_group_request.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sync_group_response.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
sync_producer.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00
utils.go Refactor repository and build scripts 2019-11-18 10:33:15 -07:00

README.md

sarama

GoDoc Build Status

Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).

Getting started

  • API documentation and examples are available via godoc.
  • Mocks for testing are available in the mocks subpackage.
  • The examples directory contains more elaborate example applications.
  • The tools directory contains command line tools that can be useful for testing, diagnostics, and instrumentation.

You might also want to look at the Frequently Asked Questions.

Compatibility and API stability

Sarama provides a "2 releases + 2 months" compatibility guarantee: we support the two latest stable releases of Kafka and Go, and we provide a two month grace period for older releases. This means we currently officially support Go 1.9 through 1.7, and Kafka 0.11 through 0.9, although older releases are still likely to work.

Sarama follows semantic versioning and provides API stability via the gopkg.in service. You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1. A changelog is available here.

Contributing