dxichen commented on code in PR #1668:
URL: https://github.com/apache/samza/pull/1668#discussion_r1212492129
##########
samza-core/src/main/java/org/apache/samza/task/StreamOperatorTask.java:
##########
@@ -93,6 +93,11 @@ public StreamOperatorTask(OperatorSpecGraph specGraph) {
public final void init(Context context) throws Exception {
// create the operator impl DAG corresponding to the logical operator spec
DAG
this.operatorImplGraph = new OperatorImplGraph(specGraph, context, clock);
+ /*
+ * TODO: Consolidate the thread pool used by OperatorImpl and
StreamOperatorTask. For now, we need to keep the
+ * existing behavior. The refactor however is to clean up the DI which is
one step towards consolidation
+ */
+ this.taskThreadPool =
context.getContainerContext().getContainerThreadPool();
Review Comment:
why is the task executor using the container thread pool?
--
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]