kafka/streams
Boyang Chen 1adf0ee889 KAFKA-9335: Fix StreamPartitionAssignor regression in repartition topics counts (#7904)
This PR fixes the regression introduced in 2.4 from 2 refactoring PRs:
#7249
#7419

The bug was introduced by having a logical path leading numPartitionsCandidate to be 0, which is assigned to numPartitions and later being checked by setNumPartitions. In the subsequent check we will throw illegal argument if the numPartitions is 0.

This bug is both impacting new 2.4 application and upgrades to 2.4 in certain types of topology. The example in original JIRA was imported as a new integration test to guard against such regression. We also verify that without the bug fix application will still fail by running this integration test.

Reviewers: Guozhang Wang <wangguoz@gmail.com>
2020-01-07 14:59:27 -08:00
..
examples/src KAFKA-8233: TopologyTestDriver test input and output usability improvements (#7378) 2019-10-07 01:01:58 -07:00
quickstart MINOR: Bump version to 2.5.0-SNAPSHOT (#7455) 2019-10-07 20:04:57 +05:30
src KAFKA-9335: Fix StreamPartitionAssignor regression in repartition topics counts (#7904) 2020-01-07 14:59:27 -08:00
streams-scala KAFKA-9324: Drop support for Scala 2.11 (KIP-531) (#7859) 2020-01-06 19:51:01 +01:00
test-utils/src KAFKA-8968: Refactor task-level metrics (#7566) 2019-10-25 17:16:25 -04:00
upgrade-system-tests-10/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-11/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-20/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-21/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-22/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-23/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-24/src/test/java/org/apache/kafka/streams/tests KAFKA-9305: Add version 2.4 to Streams system tests (#7841) 2019-12-20 14:21:12 -08:00
upgrade-system-tests-0100/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-0101/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-0102/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
upgrade-system-tests-0110/src/test/java/org/apache/kafka/streams/tests MINOR: Streams upgrade system test cleanup (#7571) 2019-10-24 10:28:29 -04:00
.gitignore