diff --git a/CHANGELOG.md b/CHANGELOG.md index f728a67d6..2bebeb106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,19 @@ # Changelog - #### Unreleased +#### Version 1.26.1 (2020-02-04) + +Improvements: +- Add requests-in-flight metric ([1539](https://github.com/Shopify/sarama/pull/1539)) +- Fix misleading example for cluster admin ([1595](https://github.com/Shopify/sarama/pull/1595)) +- Replace Travis with GitHub Actions, linters housekeeping ([1573](https://github.com/Shopify/sarama/pull/1573)) +- Allow BalanceStrategy to provide custom assignment data ([1592](https://github.com/Shopify/sarama/pull/1592)) + +Bug Fixes: +- Adds back Consumer.Offsets.CommitInterval to fix API ([1590](https://github.com/Shopify/sarama/pull/1590)) +- Fix error message s/CommitInterval/AutoCommit.Interval ([1589](https://github.com/Shopify/sarama/pull/1589)) + #### Version 1.26.0 (2020-01-24) New Features: diff --git a/balance_strategy_test.go b/balance_strategy_test.go index f930d7663..4f797f78a 100644 --- a/balance_strategy_test.go +++ b/balance_strategy_test.go @@ -64,7 +64,6 @@ func TestBalanceStrategyRange(t *testing.T) { } func TestBalanceStrategyRangeAssignmentData(t *testing.T) { - strategy := BalanceStrategyRange members := make(map[string]ConsumerGroupMemberMetadata, 2) @@ -214,7 +213,6 @@ func Test_deserializeTopicPartitionAssignment(t *testing.T) { } func TestBalanceStrategyRoundRobinAssignmentData(t *testing.T) { - strategy := BalanceStrategyRoundRobin members := make(map[string]ConsumerGroupMemberMetadata, 2) @@ -1994,7 +1992,6 @@ func Test_stickyBalanceStrategy_Plan_ConflictingPreviousAssignments(t *testing.T } func Test_stickyBalanceStrategy_Plan_AssignmentData(t *testing.T) { - s := &stickyBalanceStrategy{} members := make(map[string]ConsumerGroupMemberMetadata, 2)