-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(outputs.event_hubs): Expose max message size batch option #11991
Conversation
0ff2ae6
to
cc4fe1e
Compare
cc4fe1e
to
183204c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the default value being 1000000
, so I would adapt the README and example config.
The default setting of 1000000 is hidden in the |
Aha, okay. In that case I would mention that setting to 0 means using default of 1000000. As this value might change in a future version of the library. |
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
Required for all PRs
resolves #11990
Made the existing batch option for max message size configurable using the Telegraf config. The default value of 1,000,000 is not suitable for all use cases. The basic event hub tier is 262144 bytes and the other tiers are 1048576 bytes.