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

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