Releases: IBM/sarama
Releases · IBM/sarama
Version 1.2.0 (2015-04-07)
Improvements:
- The producer's behaviour when
Flush.Frequency
is set is now more intuitive
(#389). - The producer is now somewhat more memory-efficient during and after retrying
messages due to an improved queue implementation
(#396). - The consumer produces much more useful logging output when leadership
changes (#385). - The client's
GetOffset
method will now automatically refresh metadata and
retry once in the event of stale information or similar
(#394). - Broker connections now have support for using TCP keepalives
(#407).
Bug Fixes:
Version 1.1.0 (2015-03-20)
Improvements:
- Wrap the producer's partitioner call in a circuit-breaker so that repeatedly broken topics don't choke throughput (#373).
Bug Fixes:
- Fix the producer's internal reference counting in certain unusual scenarios (#367).
- Fix the consumer's internal reference counting in certain unusual scenarios (#369).
- Fix a condition where the producer's internal control messages could have gotten stuck (#368)
- Fix an issue where invalid partition lists would be cached when asking for metadata for a non-existant topic (#372).
Version 1.0.0 (2015-03-17)
Version 1.0.0 is the first tagged version, and is almost a complete rewrite. The primary differences with previous untagged versions are:
- The producer has been rewritten; there is now a
SyncProducer
with a blocking API, and anAsyncProducer
that is non-blocking. - The consumer has been rewritten to only open one connection per broker instead of one connection per partition.
- The main types of Sarama are now interfaces to make depedency injection easy; mock implementations for
Consumer
,SyncProducer
andAsyncProducer
are provided in thegithub.com/Shopify/sarama/mocks
package. - For most uses cases, it is no longer necessary to open a
Client
; this will be done for you. - All the configuration values have been unified in the
Config
struct. - Much improved test suite.