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