You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
root beccf3fe43 init 7 years ago
..
BUILD init 7 years ago
CHANGELOG.md init 7 years ago
LICENSE init 7 years ago
Makefile init 7 years ago
README.md init 7 years ago
Vagrantfile init 7 years ago
acl_bindings.go init 7 years ago
acl_create_request.go init 7 years ago
acl_create_response.go init 7 years ago
acl_delete_request.go init 7 years ago
acl_delete_response.go init 7 years ago
acl_describe_request.go init 7 years ago
acl_describe_response.go init 7 years ago
acl_filter.go init 7 years ago
acl_types.go init 7 years ago
add_offsets_to_txn_request.go init 7 years ago
add_offsets_to_txn_response.go init 7 years ago
add_partitions_to_txn_request.go init 7 years ago
add_partitions_to_txn_response.go init 7 years ago
admin.go init 7 years ago
alter_configs_request.go init 7 years ago
alter_configs_response.go init 7 years ago
api_versions_request.go init 7 years ago
api_versions_response.go init 7 years ago
async_producer.go init 7 years ago
broker.go init 7 years ago
client.go init 7 years ago
config.go init 7 years ago
config_resource_type.go init 7 years ago
consumer.go init 7 years ago
consumer_group_members.go init 7 years ago
consumer_metadata_request.go init 7 years ago
consumer_metadata_response.go init 7 years ago
crc32_field.go init 7 years ago
create_partitions_request.go init 7 years ago
create_partitions_response.go init 7 years ago
create_topics_request.go init 7 years ago
create_topics_response.go init 7 years ago
delete_groups_request.go init 7 years ago
delete_groups_response.go init 7 years ago
delete_records_request.go init 7 years ago
delete_records_response.go init 7 years ago
delete_topics_request.go init 7 years ago
delete_topics_response.go init 7 years ago
describe_configs_request.go init 7 years ago
describe_configs_response.go init 7 years ago
describe_groups_request.go init 7 years ago
describe_groups_response.go init 7 years ago
dev.yml init 7 years ago
encoder_decoder.go init 7 years ago
end_txn_request.go init 7 years ago
end_txn_response.go init 7 years ago
errors.go init 7 years ago
fetch_request.go init 7 years ago
fetch_response.go init 7 years ago
find_coordinator_request.go init 7 years ago
find_coordinator_response.go init 7 years ago
heartbeat_request.go init 7 years ago
heartbeat_response.go init 7 years ago
init_producer_id_request.go init 7 years ago
init_producer_id_response.go init 7 years ago
join_group_request.go init 7 years ago
join_group_response.go init 7 years ago
leave_group_request.go init 7 years ago
leave_group_response.go init 7 years ago
length_field.go init 7 years ago
list_groups_request.go init 7 years ago
list_groups_response.go init 7 years ago
message.go init 7 years ago
message_set.go init 7 years ago
metadata_request.go init 7 years ago
metadata_response.go init 7 years ago
metrics.go init 7 years ago
mockbroker.go init 7 years ago
mockresponses.go init 7 years ago
offset_commit_request.go init 7 years ago
offset_commit_response.go init 7 years ago
offset_fetch_request.go init 7 years ago
offset_fetch_response.go init 7 years ago
offset_manager.go init 7 years ago
offset_request.go init 7 years ago
offset_response.go init 7 years ago
packet_decoder.go init 7 years ago
packet_encoder.go init 7 years ago
partitioner.go init 7 years ago
prep_encoder.go init 7 years ago
produce_request.go init 7 years ago
produce_response.go init 7 years ago
produce_set.go init 7 years ago
real_decoder.go init 7 years ago
real_encoder.go init 7 years ago
record.go init 7 years ago
record_batch.go init 7 years ago
records.go init 7 years ago
request.go init 7 years ago
response_header.go init 7 years ago
sarama.go init 7 years ago
sasl_handshake_request.go init 7 years ago
sasl_handshake_response.go init 7 years ago
sync_group_request.go init 7 years ago
sync_group_response.go init 7 years ago
sync_producer.go init 7 years ago
timestamp.go init 7 years ago
txn_offset_commit_request.go init 7 years ago
txn_offset_commit_response.go init 7 years ago
utils.go init 7 years ago

README.md

sarama

GoDoc Build Status Coverage

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.8 through 1.10, and Kafka 0.11 through 1.1, 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