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

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