Open chishui opened 1 month ago
@dhrubo-os Can you help on this ? I think we should add this to OpenSearch document
It's the connectionAcquisitionTimeout settings to control the timeout for Acquire operation took longer than the configured maximum time
. We can't set this parameter in client_config now.
@dhrubo-os Can you help on this ? I think we should add this to OpenSearch document
@ylwu-amzn we have corresponding documentation here
But as @zhichao-aws said we don't have connectionAcquisitionTimeout
settings now.
connectionAcquisitionTimeout:
This timeout specifies the maximum time the HTTP client should wait to acquire a connection from the connection pool before giving up.
If the connection pool is exhausted and all connections are in use, the client will wait for a connection to become available until this timeout is reached.
After the timeout is reached, the client will typically throw a ConnectionPoolTimeoutException or similar exception.
@chishui feel free to raise a PR for this.
Is your feature request related to a problem?
client_config
is a critical parameter in connector which controls the concurrency of async requests, timeout etc code. If this parameter is not set in the connector, when user ingests large amount of documents at the same time, they could run into such exception:What solution would you like? We should document how to use of
client_config
parameter in connector blueprint.What alternatives have you considered? Maybe we should have a better place for connector documentation.
Do you have any additional context? Add any other context or screenshots about the feature request here.