Change how executors are created in OutboxPollingMassIndexerAgent

Description

Creating the executor in OutboxPollingMassIndexerAgent.Factory#create is problematic since it may result in thread leaks in case of failures (agent.stop() may not be called if the agent was created but not started).

Also, after we probably create multiple executors when there are multiple agents, but we probably could do with a single executor.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created January 2, 2023 at 10:42 AM
Updated June 2, 2023 at 1:33 PM
Resolved February 20, 2023 at 6:43 PM