Skip to content

provide mechanism for supplying custom thread pool to AsyncMethodsClientImpl #915

@jahlbornG

Description

@jahlbornG

We have a custom ExecutorService implementation which includes additional logging context when executing a task. I would like to utilize this thread pool implementation with the slack AsyncMethodsClientImpl. currently, however, the thread pool implementations are provided via static calls to ExecutorServiceFactory. it would be ideal if, e.g., MethodsConfig provided an ExecutorService factory implementation which could be customized by the user of the sdk.

Category (place an x in each of the [ ])

  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)

Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions