Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kafka sink): retry messages that result in kafka policy violations
Problem: Some messages were getting dropped by Vector due to Kafka throwing `PolicyViolation` errors. These should be retried as a policy can be as simple as a more aggressive rate limit. ---------- Solution: Retry any messages that had the `RDKafkaErrorCode::PolicyViolation` error. ---------- Note: A dynamic back off may be better, as there may be a rate limit out there that still needs more than 100ms to back off on requests. ---------- See the original issue at #22026 Closes #22026
- Loading branch information