ableegoldman commented on code in PR #16147:
URL: https://github.com/apache/kafka/pull/16147#discussion_r1623078889
##########
streams/src/main/java/org/apache/kafka/streams/processor/assignment/assignors/StickyTaskAssignor.java:
##########
@@ -40,13 +41,17 @@
import org.apache.kafka.streams.processor.assignment.TaskAssignmentUtils;
import org.apache.kafka.streams.processor.assignment.TaskAssignor;
import org.apache.kafka.streams.processor.assignment.TaskInfo;
+import org.apache.kafka.streams.processor.assignment.TaskTopicPartition;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class StickyTaskAssignor implements TaskAssignor {
private static final Logger LOG =
LoggerFactory.getLogger(StickyTaskAssignor.class);
+ public static final int DEFAULT_STATEFUL_TRAFFIC_COST = 1;
+ public static final int DEFAULT_STATEFUL_NON_OVERLAP_COST = 10;
Review Comment:
so weird. why did they name it "stateful"? both of these assignors, and
AFAICT the configs themselves, pertain to both stateless and stateful tasks...
🤷♀️
--
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]