public RackAwareOptimizationParams withTrafficCostOverride(final int trafficCostOverride) {
            return new RackAwareOptimizationParams(
                applicationState,
                Optional.of(trafficCostOverride),
                nonOverlapCostOverride,
                tasksToOptimize
            );
        }
Return a new config object with the provided trafficCost override applied
streams/src/main/java/org/apache/kafka/streams/processor/assignment/TaskAssignmentUtils.java