Skip to content

Make per-connector queue size and concurrency settings user-configurable or adapative #3584

@ppf2

Description

@ppf2

Problem Description

"Queue is full" messages in logs are indication of backpressure experienced by connector, i.e., we are fetching documents from the 3rd party service/server faster than we are able to ingest into Elasticsearch.

Currently, various connectors (e.g, box, outlook, confluence, jira, servicenow, teams) have hardcoded QUEUE_MEM_SIZE and CONCURRENT_TASKS or MAX_CONCURRENCY settings. Tuning these settings can make the connector fetch documents slower to alleviate backpressure.

Proposed Solution

We should consider making these settings user-configurable or adaptive so that users do not have to manually tune.

As a shorter term effort, it will also be helpful to make the "Queue is full" error actionable (e.g., provide a more detailed explanation about the cause and what remediation actions users can take).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions