You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/12/08 04:28:44 UTC

[GitHub] [kafka] ableegoldman commented on a diff in pull request #12962: KAFKA-14318: KIP-878, Introduce partition autoscaling configs

ableegoldman commented on code in PR #12962:
URL: https://github.com/apache/kafka/pull/12962#discussion_r1042911388


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/assignment/AssignmentTestUtils.java:
##########
@@ -112,6 +113,56 @@ public final class AssignmentTestUtils {
 
     private AssignmentTestUtils() {}
 
+    public static AssignmentConfigs getConfigsWithLagWithStandby(final long acceptableRecoveryLagMs) {

Review Comment:
   There were a HUGE number of individual calls to the `AssignmentConfigs` constructor in the assignor-related tests, which means we'd have to update a ridiculous number of lines just to add a single config to this simple container class. There are better ways to do this right but I tried to help the situation without completely blowing up the scope, so that's what this is



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org