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

feat(outputs.kafka): Option to set producer message timestamp #15689

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Jul 30, 2024

Summary

By default the non-negative, metric timestamp is used on the kafka producer message. This adds a new option to allow the producer message to instead use the current time, set by the library when not set.

Checklist

  • No AI generated code was used in this PR

Related issues

fixes: #15675

@telegraf-tiger telegraf-tiger bot added area/kafka feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Jul 30, 2024
@powersj powersj self-assigned this Jul 30, 2024
@telegraf-tiger
Copy link
Contributor

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jul 31, 2024
@powersj powersj assigned DStrand1 and srebhan and unassigned powersj Jul 31, 2024
@srebhan srebhan removed their assignment Jul 31, 2024
@DStrand1 DStrand1 merged commit 2cab6ec into influxdata:master Jul 31, 2024
27 checks passed
@github-actions github-actions bot added this to the v1.32.0 milestone Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kafka feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(outputs.kafka): Add config option to set producer message timestamp
3 participants