-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Document how timestamps set in Kafka messages affect retention #30025
Conversation
Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter.
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
💚 Build Succeeded
Expand to view the summary
Build stats
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Co-authored-by: Craig MacKenzie <[email protected]>
Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94)
Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94)
Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94)
… (#30037) Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94) Co-authored-by: Denis Rechkunov <[email protected]>
… (#30036) Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94) Co-authored-by: Denis Rechkunov <[email protected]>
… (#30035) Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter. (cherry picked from commit a473d94) Co-authored-by: Denis Rechkunov <[email protected]>
…ic#30025) Some customers find the default behavior when using Kafka outputs unexpected.There are 2 possible options: 1. Message timestamp to be assigned on event creation (in beats), when the actual event was emitted and then propagated to Kafka 2. Message timestamp to be assigned when Kafka actually receives the message Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's worth to document how to switch between the 2 options in Kafka configuration using the `log.message.timestamp.type` parameter.
What does this PR do?
Adds an important note to the Kafka output documentation.
Why is it important?
Some customers find the default behavior when using Kafka outputs
unexpected.There are 2 possible options:
message
Since beats always set the message timestamp for Kafka version 0.10.0.0+ it's
worth to document how to switch between the 2 options in Kafka
configuration using the
log.message.timestamp.type
parameter.