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

chore: log attempts and batch size for failed produce requests #63

Merged

Conversation

zmstone
Copy link
Contributor

@zmstone zmstone commented May 7, 2024

Log number of attempts and the batch size when produce request failed.
this will make troubleshooting easier.
for example, if a request of batch size=1 failed 100 times with reason 'message too large', it means the single message is over the size limit configured for the target Kafka topic.

@zmstone zmstone force-pushed the 0507-log-batch-size-in-failure-warning branch from 7f4ce5c to bca1aee Compare May 7, 2024 09:03
@zmstone zmstone force-pushed the 0507-log-batch-size-in-failure-warning branch from bca1aee to 530dcd0 Compare May 7, 2024 09:04
@zmstone zmstone merged commit 8a81c45 into kafka4beam:main May 16, 2024
6 checks passed
@zmstone zmstone deleted the 0507-log-batch-size-in-failure-warning branch May 16, 2024 09:17
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

Successfully merging this pull request may close these issues.

2 participants