geosmart commented on a change in pull request #7560:
URL: https://github.com/apache/dolphinscheduler/pull/7560#discussion_r774822619
##########
File path:
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/processor/queue/TaskResponseService.java
##########
@@ -66,13 +66,32 @@
@Autowired
private ProcessService processService;
+ @Autowired
+ private MasterConfig masterConfig;
+
/**
* task response worker
*/
private Thread taskResponseWorker;
+ /**
+ * event handler
+ */
+ private Thread eventHandler;
+
private ConcurrentHashMap<Integer, WorkflowExecuteThread>
processInstanceMapper;
+ private final ConcurrentHashMap<String, TaskResponsePersistThread>
eventHandlerMap = new ConcurrentHashMap<>();
+
+ private ListeningExecutorService listeningExecutorService;
+
+ private ExecutorService eventExecService;
+
+ /**
+ * task response mapper
+ */
+ private final ConcurrentHashMap<Integer, TaskResponsePersistThread>
processTaskResponseMapper = new ConcurrentHashMap<>();
Review comment:
the name make me think the map was a DAO object.
maybe change it to `processTaskResponseMap`
--
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]