|
@@ -1,16 +1,28 @@
|
|
|
# Changelog
|
|
# Changelog
|
|
|
|
|
|
|
|
-#### Unreleased
|
|
|
|
|
|
|
+#### Version 1.12.0 (2016-05-08)
|
|
|
|
|
|
|
|
New Features:
|
|
New Features:
|
|
|
|
|
+ - Added support for the `ApiVersions` request and response pair, and Kafka
|
|
|
|
|
+ version 0.10.2 ([#867](https://github.com/Shopify/sarama/pull/867)). Note
|
|
|
|
|
+ that you still need to specify the Kafka version in the Sarama configuration
|
|
|
|
|
+ for the time being.
|
|
|
- Added a `Brokers` method to the Client which returns the complete set of
|
|
- Added a `Brokers` method to the Client which returns the complete set of
|
|
|
active brokers ([#813](https://github.com/Shopify/sarama/pull/813)).
|
|
active brokers ([#813](https://github.com/Shopify/sarama/pull/813)).
|
|
|
|
|
+ - Added an `InSyncReplicas` method to the Client which returns the set of all
|
|
|
|
|
+ in-sync broker IDs for the given partition, now that the Kafka versions for
|
|
|
|
|
+ which this was misleading are no longer in our supported set
|
|
|
|
|
+ ([#872](https://github.com/Shopify/sarama/pull/872)).
|
|
|
- Added a `NewCustomHashPartitioner` method which allows constructing a hash
|
|
- Added a `NewCustomHashPartitioner` method which allows constructing a hash
|
|
|
partitioner with a custom hash method in case the default (FNV-1a) is not
|
|
partitioner with a custom hash method in case the default (FNV-1a) is not
|
|
|
suitable
|
|
suitable
|
|
|
([#837](https://github.com/Shopify/sarama/pull/837),
|
|
([#837](https://github.com/Shopify/sarama/pull/837),
|
|
|
[#841](https://github.com/Shopify/sarama/pull/841)).
|
|
[#841](https://github.com/Shopify/sarama/pull/841)).
|
|
|
|
|
|
|
|
|
|
+Improvements:
|
|
|
|
|
+ - Recognize more Kafka error codes
|
|
|
|
|
+ ([#859](https://github.com/Shopify/sarama/pull/859)).
|
|
|
|
|
+
|
|
|
Bug Fixes:
|
|
Bug Fixes:
|
|
|
- Fix an issue where decoding a malformed FetchRequest would not return the
|
|
- Fix an issue where decoding a malformed FetchRequest would not return the
|
|
|
correct error ([#818](https://github.com/Shopify/sarama/pull/818)).
|
|
correct error ([#818](https://github.com/Shopify/sarama/pull/818)).
|
|
@@ -19,6 +31,8 @@ Bug Fixes:
|
|
|
`AddGroupProtocolMetadata` helpers; otherwise you will need to switch from
|
|
`AddGroupProtocolMetadata` helpers; otherwise you will need to switch from
|
|
|
the `GroupProtocols` field (now deprecated) to use `OrderedGroupProtocols`
|
|
the `GroupProtocols` field (now deprecated) to use `OrderedGroupProtocols`
|
|
|
([#812](https://github.com/Shopify/sarama/issues/812)).
|
|
([#812](https://github.com/Shopify/sarama/issues/812)).
|
|
|
|
|
+ - Fix an alignment-related issue with atomics on 32-bit architectures
|
|
|
|
|
+ ([#859](https://github.com/Shopify/sarama/pull/859)).
|
|
|
|
|
|
|
|
#### Version 1.11.0 (2016-12-20)
|
|
#### Version 1.11.0 (2016-12-20)
|
|
|
|
|
|