tree: 65af4c7085bf43082c91155daca839d197b95e91 [path history] [tgz]
  1. .gitignore
  2. .travis.yml
  3. CHANGELOG.md
  4. LICENSE
  5. Makefile
  6. README.md
  7. Vagrantfile
  8. acl_bindings.go
  9. acl_create_request.go
  10. acl_create_response.go
  11. acl_delete_request.go
  12. acl_delete_response.go
  13. acl_describe_request.go
  14. acl_describe_response.go
  15. acl_filter.go
  16. acl_types.go
  17. add_offsets_to_txn_request.go
  18. add_offsets_to_txn_response.go
  19. add_partitions_to_txn_request.go
  20. add_partitions_to_txn_response.go
  21. admin.go
  22. alter_configs_request.go
  23. alter_configs_response.go
  24. api_versions_request.go
  25. api_versions_response.go
  26. async_producer.go
  27. balance_strategy.go
  28. broker.go
  29. client.go
  30. compress.go
  31. config.go
  32. config_resource_type.go
  33. consumer.go
  34. consumer_group.go
  35. consumer_group_members.go
  36. consumer_metadata_request.go
  37. consumer_metadata_response.go
  38. crc32_field.go
  39. create_partitions_request.go
  40. create_partitions_response.go
  41. create_topics_request.go
  42. create_topics_response.go
  43. decompress.go
  44. delete_groups_request.go
  45. delete_groups_response.go
  46. delete_records_request.go
  47. delete_records_response.go
  48. delete_topics_request.go
  49. delete_topics_response.go
  50. describe_configs_request.go
  51. describe_configs_response.go
  52. describe_groups_request.go
  53. describe_groups_response.go
  54. dev.yml
  55. encoder_decoder.go
  56. end_txn_request.go
  57. end_txn_response.go
  58. errors.go
  59. fetch_request.go
  60. fetch_response.go
  61. find_coordinator_request.go
  62. find_coordinator_response.go
  63. heartbeat_request.go
  64. heartbeat_response.go
  65. init_producer_id_request.go
  66. init_producer_id_response.go
  67. join_group_request.go
  68. join_group_response.go
  69. leave_group_request.go
  70. leave_group_response.go
  71. length_field.go
  72. list_groups_request.go
  73. list_groups_response.go
  74. message.go
  75. message_set.go
  76. metadata_request.go
  77. metadata_response.go
  78. metrics.go
  79. mockbroker.go
  80. mockresponses.go
  81. offset_commit_request.go
  82. offset_commit_response.go
  83. offset_fetch_request.go
  84. offset_fetch_response.go
  85. offset_manager.go
  86. offset_request.go
  87. offset_response.go
  88. packet_decoder.go
  89. packet_encoder.go
  90. partitioner.go
  91. prep_encoder.go
  92. produce_request.go
  93. produce_response.go
  94. produce_set.go
  95. real_decoder.go
  96. real_encoder.go
  97. record.go
  98. record_batch.go
  99. records.go
  100. request.go
  101. response_header.go
  102. sarama.go
  103. sasl_handshake_request.go
  104. sasl_handshake_response.go
  105. sync_group_request.go
  106. sync_group_response.go
  107. sync_producer.go
  108. timestamp.go
  109. txn_offset_commit_request.go
  110. txn_offset_commit_response.go
  111. utils.go
  112. zstd_cgo.go
  113. zstd_fallback.go
vendor/gopkg.in/Shopify/sarama.v1/README.md

sarama

GoDoc Build Status Coverage

Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).

Getting started

  • API documentation and examples are available via godoc.
  • 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. This means we currently officially support Go 1.8 through 1.11, and Kafka 1.0 through 2.0, although older releases are still likely to work.

Sarama follows semantic versioning and provides API stability via the gopkg.in service. You can import a version with a guaranteed stable API via http://gopkg.in/Shopify/sarama.v1. A changelog is available here.

Contributing