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

fix: records with data type mismatching goes to DLQ instead of failing the connector #27

Merged
merged 8 commits into from
Sep 9, 2024

Conversation

jerrinot
Copy link
Collaborator

@jerrinot jerrinot commented Sep 6, 2024

fixes #26
This is a first impl. It could be optimized further, but I assume bad data are rare and it already does the job as it is.

There is a potential issue with inflightSinkRecords referencing all in-flight records. In theory, this can +- double memory consumption. but we need the original SinkRecord so we can send it to DLQ.

This is implemented for the HTTP transport only, because the TCP transport cannot report issues properly.

…g the connector

fixes #26
this is a first impl. it could be optimized further, but I assume bad data are rare
and it already does the job as it is.

there is a potential issue with `inflightSinkRecords` referencing all in-flight
data. in theory, this can +- double memory consumption. but we need the original
SinkRecord so we can send them to DLQ.
@jerrinot jerrinot added the bug Something isn't working label Sep 6, 2024
@jerrinot jerrinot marked this pull request as ready for review September 9, 2024 08:12
@jerrinot jerrinot merged commit b4510d1 into main Sep 9, 2024
2 checks passed
@jerrinot jerrinot deleted the jh_dlq_slow_mode branch September 9, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messages not being sent back to DLQ on failure causing connector on error out
1 participant