mynameborat commented on code in PR #1667:
URL: https://github.com/apache/samza/pull/1667#discussion_r1227066445


##########
samza-core/src/main/java/org/apache/samza/operators/impl/OperatorImpl.java:
##########
@@ -134,7 +136,8 @@ public final void init(InternalTaskContext 
internalTaskContext) {
     this.taskModel = taskContext.getTaskModel();
     this.callbackScheduler = taskContext.getCallbackScheduler();
     handleInit(context);
-    this.elasticityFactor = new 
JobConfig(context.getJobContext().getConfig()).getElasticityFactor();
+    this.elasticityFactor = new JobConfig(config).getElasticityFactor();
+    this.operatorThreadPool = context.getTaskContext().getOperatorExecutor();

Review Comment:
   That is out of scope for this PR as there are other considerations w/ the 
change to maintain backward semantics and also control which thread pool is 
used.



-- 
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]

Reply via email to