aho135 commented on code in PR #19040:
URL: https://github.com/apache/druid/pull/19040#discussion_r2874952416


##########
extensions-core/kafka-indexing-service/src/test/java/org/apache/druid/indexing/kafka/supervisor/KafkaSupervisorTest.java:
##########
@@ -5244,6 +5272,112 @@ public void 
test_autoScaler_doesNotRepeatScaleDownActions_ifTasksAreStillPublish
     Assert.assertFalse(supervisor.getPartitionOffsets().isEmpty());
   }
 
+  @Test
+  public void 
testComputeUnassignedServerPriorities_whenMultipleReplicasPerPriorityIsSet()
+  {
+    final Map<String, Object> consumerProperties = 
KafkaConsumerConfigs.getConsumerProperties();
+    consumerProperties.put("bootstrap.servers", kafkaHost);
+
+    final KafkaSupervisorIOConfig kafkaSupervisorIOConfig = new 
KafkaSupervisorIOConfig(
+        topic,
+        null,
+        INPUT_FORMAT,
+        null,

Review Comment:
   Did you want to enforce `replicas = sum of Replicas configured in 
serverPriorityToReplicas`? 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to