Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put opensearch-client configuration options into a separate section. #23

Open
MaxKsyunz opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@MaxKsyunz
Copy link

Component(s)

No response

Describe the issue you're reporting

The following options relate to opensearch go client specifically. Normally they should be left at default values.
Make this clear in the documentation to avoid confusion.

- `num_workers` (optional): Number of workers publishing bulk requests concurrently.
- `flush`: Event bulk buffer flush settings
  - `bytes` (default=5242880): Write buffer flush limit.
  - `interval` (default=30s): Write buffer time limit.
- `retry`: Event retry settings
  - `enabled` (default=true): Enable/Disable event retry on error. Retry
    support is enabled by default.
  - `max_requests` (default=3): Number of HTTP request retries.
  - `initial_interval` (default=100ms): Initial waiting time if a HTTP request failed.
  - `max_interval` (default=1m): Max waiting time if a HTTP request failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant