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

send kafka error #1168

Open
zer0e opened this issue Mar 17, 2023 · 1 comment
Open

send kafka error #1168

zer0e opened this issue Mar 17, 2023 · 1 comment

Comments

@zer0e
Copy link

zer0e commented Mar 17, 2023

[DEBUG][elapsed 6.2756408s]: Failed to write access log entry: kafka: Failed to produce message to topic gor-1679038301199: kafka server: Message was too large, server rejected it to avoid allocation error.

I set kafka server config max.message.bytes=104857600, but goreplay is also send error.
Should I config other settings?

@zer0e
Copy link
Author

zer0e commented Mar 18, 2023

Well, the kafka producer should add c.Producer.MaxMessageBytes config to enable the message size larger 1M.
If possible, goreplay can add flag to set MaxMessageBytes with KafkaOutput?

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