mfyuce opened a new pull request, #3523: URL: https://github.com/apache/iggy/pull/3523
## Summary - Defer `index_id` YAML parse to `open()` — return `InvalidConfigValue` instead of panicking via `expect()` - Use `ClientWithMiddleware` (`build_retry_client`) for ingest retries with exponential backoff on 5xx / connection errors - `check_connectivity_with_retry` in `open()` against `/health/livez` - Map 4xx responses (except 429) to `PermanentHttpError` so the circuit breaker is not tripped by bad payloads - Add `verbose_logging` / `max_retries` / `retry_delay` / `max_retry_delay` / `max_open_retries` / `open_retry_max_delay` to `QuickwitSinkConfig` (all optional, forward-compatible) - Downgrade per-batch `consume()` log to `debug!` (upgraded to `info!` when `verbose_logging = true`) - Set `Content-Type: application/x-ndjson` on ingest requests - Drop unused `dashmap` / `once_cell` deps; add `reqwest-middleware` - 5 unit tests covering verbose flag, client init state, and index_id init state ## Test plan - [x] `cargo clippy -p iggy_connector_quickwit_sink --all-targets -- -D warnings` — clean - [x] `cargo test -p iggy_connector_quickwit_sink` — 5 tests pass - [ ] Integration tests: `cargo test -p integration -- connectors::quickwit` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QBxbPbdKXzoMdvLBeugNBX -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
