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

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