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


##########
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:
   Should this thread pool also be used in StreamOperatorTask?



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