EricKIm ac134e7565 240528-0919-Kim il y a 6 mois
..
.gitignore a06d7a7b11 231113-1706-Kim il y a 1 an
.golangci.yml ac134e7565 240528-0919-Kim il y a 6 mois
.pre-commit-config.yaml ac134e7565 240528-0919-Kim il y a 6 mois
CHANGELOG.md ac134e7565 240528-0919-Kim il y a 6 mois
CODE_OF_CONDUCT.md ac134e7565 240528-0919-Kim il y a 6 mois
CONTRIBUTING.md ac134e7565 240528-0919-Kim il y a 6 mois
Dockerfile.kafka ac134e7565 240528-0919-Kim il y a 6 mois
LICENSE.md ac134e7565 240528-0919-Kim il y a 6 mois
Makefile a06d7a7b11 231113-1706-Kim il y a 1 an
README.md ac134e7565 240528-0919-Kim il y a 6 mois
SECURITY.md ac134e7565 240528-0919-Kim il y a 6 mois
Vagrantfile a06d7a7b11 231113-1706-Kim il y a 1 an
acl_bindings.go a06d7a7b11 231113-1706-Kim il y a 1 an
acl_create_request.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_create_response.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_delete_request.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_delete_response.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_describe_request.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_describe_response.go ac134e7565 240528-0919-Kim il y a 6 mois
acl_filter.go a06d7a7b11 231113-1706-Kim il y a 1 an
acl_types.go ac134e7565 240528-0919-Kim il y a 6 mois
add_offsets_to_txn_request.go ac134e7565 240528-0919-Kim il y a 6 mois
add_offsets_to_txn_response.go ac134e7565 240528-0919-Kim il y a 6 mois
add_partitions_to_txn_request.go ac134e7565 240528-0919-Kim il y a 6 mois
add_partitions_to_txn_response.go ac134e7565 240528-0919-Kim il y a 6 mois
admin.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_client_quotas_request.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_client_quotas_response.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_configs_request.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_configs_response.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_partition_reassignments_request.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_partition_reassignments_response.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_user_scram_credentials_request.go ac134e7565 240528-0919-Kim il y a 6 mois
alter_user_scram_credentials_response.go ac134e7565 240528-0919-Kim il y a 6 mois
api_versions_request.go ac134e7565 240528-0919-Kim il y a 6 mois
api_versions_response.go ac134e7565 240528-0919-Kim il y a 6 mois
async_producer.go ac134e7565 240528-0919-Kim il y a 6 mois
balance_strategy.go ac134e7565 240528-0919-Kim il y a 6 mois
broker.go ac134e7565 240528-0919-Kim il y a 6 mois
client.go ac134e7565 240528-0919-Kim il y a 6 mois
compress.go ac134e7565 240528-0919-Kim il y a 6 mois
config.go ac134e7565 240528-0919-Kim il y a 6 mois
config_resource_type.go a06d7a7b11 231113-1706-Kim il y a 1 an
consumer.go ac134e7565 240528-0919-Kim il y a 6 mois
consumer_group.go ac134e7565 240528-0919-Kim il y a 6 mois
consumer_group_members.go ac134e7565 240528-0919-Kim il y a 6 mois
consumer_metadata_request.go ac134e7565 240528-0919-Kim il y a 6 mois
consumer_metadata_response.go ac134e7565 240528-0919-Kim il y a 6 mois
control_record.go a06d7a7b11 231113-1706-Kim il y a 1 an
crc32_field.go a06d7a7b11 231113-1706-Kim il y a 1 an
create_partitions_request.go ac134e7565 240528-0919-Kim il y a 6 mois
create_partitions_response.go ac134e7565 240528-0919-Kim il y a 6 mois
create_topics_request.go ac134e7565 240528-0919-Kim il y a 6 mois
create_topics_response.go ac134e7565 240528-0919-Kim il y a 6 mois
decompress.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_groups_request.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_groups_response.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_offsets_request.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_offsets_response.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_records_request.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_records_response.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_topics_request.go ac134e7565 240528-0919-Kim il y a 6 mois
delete_topics_response.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_client_quotas_request.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_client_quotas_response.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_configs_request.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_configs_response.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_groups_request.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_groups_response.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_log_dirs_request.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_log_dirs_response.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_user_scram_credentials_request.go ac134e7565 240528-0919-Kim il y a 6 mois
describe_user_scram_credentials_response.go ac134e7565 240528-0919-Kim il y a 6 mois
dev.yml a06d7a7b11 231113-1706-Kim il y a 1 an
docker-compose.yml ac134e7565 240528-0919-Kim il y a 6 mois
encoder_decoder.go a06d7a7b11 231113-1706-Kim il y a 1 an
end_txn_request.go ac134e7565 240528-0919-Kim il y a 6 mois
end_txn_response.go ac134e7565 240528-0919-Kim il y a 6 mois
entrypoint.sh ac134e7565 240528-0919-Kim il y a 6 mois
errors.go ac134e7565 240528-0919-Kim il y a 6 mois
fetch_request.go ac134e7565 240528-0919-Kim il y a 6 mois
fetch_response.go ac134e7565 240528-0919-Kim il y a 6 mois
find_coordinator_request.go ac134e7565 240528-0919-Kim il y a 6 mois
find_coordinator_response.go ac134e7565 240528-0919-Kim il y a 6 mois
gssapi_kerberos.go ac134e7565 240528-0919-Kim il y a 6 mois
heartbeat_request.go ac134e7565 240528-0919-Kim il y a 6 mois
heartbeat_response.go ac134e7565 240528-0919-Kim il y a 6 mois
incremental_alter_configs_request.go ac134e7565 240528-0919-Kim il y a 6 mois
incremental_alter_configs_response.go ac134e7565 240528-0919-Kim il y a 6 mois
init_producer_id_request.go ac134e7565 240528-0919-Kim il y a 6 mois
init_producer_id_response.go ac134e7565 240528-0919-Kim il y a 6 mois
interceptors.go ac134e7565 240528-0919-Kim il y a 6 mois
join_group_request.go ac134e7565 240528-0919-Kim il y a 6 mois
join_group_response.go ac134e7565 240528-0919-Kim il y a 6 mois
kerberos_client.go ac134e7565 240528-0919-Kim il y a 6 mois
leave_group_request.go ac134e7565 240528-0919-Kim il y a 6 mois
leave_group_response.go ac134e7565 240528-0919-Kim il y a 6 mois
length_field.go a06d7a7b11 231113-1706-Kim il y a 1 an
list_groups_request.go ac134e7565 240528-0919-Kim il y a 6 mois
list_groups_response.go ac134e7565 240528-0919-Kim il y a 6 mois
list_partition_reassignments_request.go ac134e7565 240528-0919-Kim il y a 6 mois
list_partition_reassignments_response.go ac134e7565 240528-0919-Kim il y a 6 mois
message.go a06d7a7b11 231113-1706-Kim il y a 1 an
message_set.go a06d7a7b11 231113-1706-Kim il y a 1 an
metadata_request.go ac134e7565 240528-0919-Kim il y a 6 mois
metadata_response.go ac134e7565 240528-0919-Kim il y a 6 mois
metrics.go ac134e7565 240528-0919-Kim il y a 6 mois
mockbroker.go ac134e7565 240528-0919-Kim il y a 6 mois
mockkerberos.go a06d7a7b11 231113-1706-Kim il y a 1 an
mockresponses.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_commit_request.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_commit_response.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_fetch_request.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_fetch_response.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_manager.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_request.go ac134e7565 240528-0919-Kim il y a 6 mois
offset_response.go ac134e7565 240528-0919-Kim il y a 6 mois
packet_decoder.go ac134e7565 240528-0919-Kim il y a 6 mois
packet_encoder.go a06d7a7b11 231113-1706-Kim il y a 1 an
partitioner.go ac134e7565 240528-0919-Kim il y a 6 mois
prep_encoder.go a06d7a7b11 231113-1706-Kim il y a 1 an
produce_request.go ac134e7565 240528-0919-Kim il y a 6 mois
produce_response.go ac134e7565 240528-0919-Kim il y a 6 mois
produce_set.go ac134e7565 240528-0919-Kim il y a 6 mois
quota_types.go a06d7a7b11 231113-1706-Kim il y a 1 an
real_decoder.go a06d7a7b11 231113-1706-Kim il y a 1 an
real_encoder.go a06d7a7b11 231113-1706-Kim il y a 1 an
record.go a06d7a7b11 231113-1706-Kim il y a 1 an
record_batch.go ac134e7565 240528-0919-Kim il y a 6 mois
records.go a06d7a7b11 231113-1706-Kim il y a 1 an
request.go ac134e7565 240528-0919-Kim il y a 6 mois
response_header.go a06d7a7b11 231113-1706-Kim il y a 1 an
sarama.go ac134e7565 240528-0919-Kim il y a 6 mois
sasl_authenticate_request.go ac134e7565 240528-0919-Kim il y a 6 mois
sasl_authenticate_response.go ac134e7565 240528-0919-Kim il y a 6 mois
sasl_handshake_request.go ac134e7565 240528-0919-Kim il y a 6 mois
sasl_handshake_response.go ac134e7565 240528-0919-Kim il y a 6 mois
scram_formatter.go a06d7a7b11 231113-1706-Kim il y a 1 an
sticky_assignor_user_data.go a06d7a7b11 231113-1706-Kim il y a 1 an
sync_group_request.go ac134e7565 240528-0919-Kim il y a 6 mois
sync_group_response.go ac134e7565 240528-0919-Kim il y a 6 mois
sync_producer.go ac134e7565 240528-0919-Kim il y a 6 mois
timestamp.go a06d7a7b11 231113-1706-Kim il y a 1 an
transaction_manager.go ac134e7565 240528-0919-Kim il y a 6 mois
txn_offset_commit_request.go ac134e7565 240528-0919-Kim il y a 6 mois
txn_offset_commit_response.go ac134e7565 240528-0919-Kim il y a 6 mois
utils.go ac134e7565 240528-0919-Kim il y a 6 mois
version.go a06d7a7b11 231113-1706-Kim il y a 1 an
zstd.go a06d7a7b11 231113-1706-Kim il y a 1 an

README.md

sarama

Go Reference OpenSSF Scorecard OpenSSF Best Practices

Sarama is an MIT-licensed Go client library for Apache Kafka.

Getting started

  • API documentation and examples are available via pkg.go.dev.
  • 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. However, older releases of Kafka are still likely to work.

Sarama follows semantic versioning and provides API stability via the standard Go module version numbering scheme.

A changelog is available here.

Contributing