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

output_kafka2 plugin is missing parameters ? #319

Closed
simonasr opened this issue Feb 13, 2020 · 3 comments
Closed

output_kafka2 plugin is missing parameters ? #319

simonasr opened this issue Feb 13, 2020 · 3 comments

Comments

@simonasr
Copy link

Hello,

Readme states there are parameters kafka_agg_max_bytes and kafka_agg_max_messages available in kafka2 output plugin. But this is not true. I found them only in kafka_buffered output plugin source code.
It would be nice to have these parameters in kafka2 output plugin.. 🤞

@simonasr simonasr changed the title output_kafka2 plugin is missing parameters output_kafka2 plugin is missing parameters ? Feb 13, 2020
@repeatedly
Copy link
Member

I found them only in kafka_buffered output plugin source code.

Ah, this is README mistake. We will fix soon.

It would be nice to have these parameters in kafka2 output plugin..

These features are mainly for v0.12 fluentd buffer. I think not useful parameters in v1.

@simonasr
Copy link
Author

@repeatedly Thanks for replying!

I would say it would be useful - in our environment (~2000records/s) we sometimes get Kafka::MessageSizeTooLarge exception with buffer flush set to 5s. Currently we mitigated this with changing flush time to 1s. But it would be better if there would be ability to set kafka_agg_max_messages and flush messages when certain limit reached.
Or is there better way preventing Kafka::MessageSizeTooLarge exception?

@simonasr
Copy link
Author

closing issue. got my answers in #323

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

2 participants