tangs b030ce89ca openbilibili 6 years ago
..
BUILD b030ce89ca openbilibili 6 years ago
CHANGELOG.md b030ce89ca openbilibili 6 years ago
LICENSE b030ce89ca openbilibili 6 years ago
Makefile b030ce89ca openbilibili 6 years ago
README.md b030ce89ca openbilibili 6 years ago
Vagrantfile b030ce89ca openbilibili 6 years ago
acl_bindings.go b030ce89ca openbilibili 6 years ago
acl_create_request.go b030ce89ca openbilibili 6 years ago
acl_create_response.go b030ce89ca openbilibili 6 years ago
acl_delete_request.go b030ce89ca openbilibili 6 years ago
acl_delete_response.go b030ce89ca openbilibili 6 years ago
acl_describe_request.go b030ce89ca openbilibili 6 years ago
acl_describe_response.go b030ce89ca openbilibili 6 years ago
acl_filter.go b030ce89ca openbilibili 6 years ago
acl_types.go b030ce89ca openbilibili 6 years ago
add_offsets_to_txn_request.go b030ce89ca openbilibili 6 years ago
add_offsets_to_txn_response.go b030ce89ca openbilibili 6 years ago
add_partitions_to_txn_request.go b030ce89ca openbilibili 6 years ago
add_partitions_to_txn_response.go b030ce89ca openbilibili 6 years ago
admin.go b030ce89ca openbilibili 6 years ago
alter_configs_request.go b030ce89ca openbilibili 6 years ago
alter_configs_response.go b030ce89ca openbilibili 6 years ago
api_versions_request.go b030ce89ca openbilibili 6 years ago
api_versions_response.go b030ce89ca openbilibili 6 years ago
async_producer.go b030ce89ca openbilibili 6 years ago
broker.go b030ce89ca openbilibili 6 years ago
client.go b030ce89ca openbilibili 6 years ago
config.go b030ce89ca openbilibili 6 years ago
config_resource_type.go b030ce89ca openbilibili 6 years ago
consumer.go b030ce89ca openbilibili 6 years ago
consumer_group_members.go b030ce89ca openbilibili 6 years ago
consumer_metadata_request.go b030ce89ca openbilibili 6 years ago
consumer_metadata_response.go b030ce89ca openbilibili 6 years ago
crc32_field.go b030ce89ca openbilibili 6 years ago
create_partitions_request.go b030ce89ca openbilibili 6 years ago
create_partitions_response.go b030ce89ca openbilibili 6 years ago
create_topics_request.go b030ce89ca openbilibili 6 years ago
create_topics_response.go b030ce89ca openbilibili 6 years ago
delete_groups_request.go b030ce89ca openbilibili 6 years ago
delete_groups_response.go b030ce89ca openbilibili 6 years ago
delete_records_request.go b030ce89ca openbilibili 6 years ago
delete_records_response.go b030ce89ca openbilibili 6 years ago
delete_topics_request.go b030ce89ca openbilibili 6 years ago
delete_topics_response.go b030ce89ca openbilibili 6 years ago
describe_configs_request.go b030ce89ca openbilibili 6 years ago
describe_configs_response.go b030ce89ca openbilibili 6 years ago
describe_groups_request.go b030ce89ca openbilibili 6 years ago
describe_groups_response.go b030ce89ca openbilibili 6 years ago
dev.yml b030ce89ca openbilibili 6 years ago
encoder_decoder.go b030ce89ca openbilibili 6 years ago
end_txn_request.go b030ce89ca openbilibili 6 years ago
end_txn_response.go b030ce89ca openbilibili 6 years ago
errors.go b030ce89ca openbilibili 6 years ago
fetch_request.go b030ce89ca openbilibili 6 years ago
fetch_response.go b030ce89ca openbilibili 6 years ago
find_coordinator_request.go b030ce89ca openbilibili 6 years ago
find_coordinator_response.go b030ce89ca openbilibili 6 years ago
heartbeat_request.go b030ce89ca openbilibili 6 years ago
heartbeat_response.go b030ce89ca openbilibili 6 years ago
init_producer_id_request.go b030ce89ca openbilibili 6 years ago
init_producer_id_response.go b030ce89ca openbilibili 6 years ago
join_group_request.go b030ce89ca openbilibili 6 years ago
join_group_response.go b030ce89ca openbilibili 6 years ago
leave_group_request.go b030ce89ca openbilibili 6 years ago
leave_group_response.go b030ce89ca openbilibili 6 years ago
length_field.go b030ce89ca openbilibili 6 years ago
list_groups_request.go b030ce89ca openbilibili 6 years ago
list_groups_response.go b030ce89ca openbilibili 6 years ago
message.go b030ce89ca openbilibili 6 years ago
message_set.go b030ce89ca openbilibili 6 years ago
metadata_request.go b030ce89ca openbilibili 6 years ago
metadata_response.go b030ce89ca openbilibili 6 years ago
metrics.go b030ce89ca openbilibili 6 years ago
mockbroker.go b030ce89ca openbilibili 6 years ago
mockresponses.go b030ce89ca openbilibili 6 years ago
offset_commit_request.go b030ce89ca openbilibili 6 years ago
offset_commit_response.go b030ce89ca openbilibili 6 years ago
offset_fetch_request.go b030ce89ca openbilibili 6 years ago
offset_fetch_response.go b030ce89ca openbilibili 6 years ago
offset_manager.go b030ce89ca openbilibili 6 years ago
offset_request.go b030ce89ca openbilibili 6 years ago
offset_response.go b030ce89ca openbilibili 6 years ago
packet_decoder.go b030ce89ca openbilibili 6 years ago
packet_encoder.go b030ce89ca openbilibili 6 years ago
partitioner.go b030ce89ca openbilibili 6 years ago
prep_encoder.go b030ce89ca openbilibili 6 years ago
produce_request.go b030ce89ca openbilibili 6 years ago
produce_response.go b030ce89ca openbilibili 6 years ago
produce_set.go b030ce89ca openbilibili 6 years ago
real_decoder.go b030ce89ca openbilibili 6 years ago
real_encoder.go b030ce89ca openbilibili 6 years ago
record.go b030ce89ca openbilibili 6 years ago
record_batch.go b030ce89ca openbilibili 6 years ago
records.go b030ce89ca openbilibili 6 years ago
request.go b030ce89ca openbilibili 6 years ago
response_header.go b030ce89ca openbilibili 6 years ago
sarama.go b030ce89ca openbilibili 6 years ago
sasl_handshake_request.go b030ce89ca openbilibili 6 years ago
sasl_handshake_response.go b030ce89ca openbilibili 6 years ago
sync_group_request.go b030ce89ca openbilibili 6 years ago
sync_group_response.go b030ce89ca openbilibili 6 years ago
sync_producer.go b030ce89ca openbilibili 6 years ago
timestamp.go b030ce89ca openbilibili 6 years ago
txn_offset_commit_request.go b030ce89ca openbilibili 6 years ago
txn_offset_commit_response.go b030ce89ca openbilibili 6 years ago
utils.go b030ce89ca openbilibili 6 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