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 add metric name as record header #15722

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

Mrflatt
Copy link
Contributor

@Mrflatt Mrflatt commented Aug 8, 2024

Summary

Adds metric name as kafka record header. Allows checking metric name before consumer will deserialize record.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15721

@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 Aug 8, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Mrflatt for your contribution! I do have two small comments...

plugins/outputs/kafka/sample.conf Outdated Show resolved Hide resolved
plugins/outputs/kafka/kafka.go Show resolved Hide resolved
@srebhan srebhan self-assigned this Aug 12, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @Mrflatt!

@srebhan srebhan 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 Aug 13, 2024
@srebhan srebhan assigned powersj and DStrand1 and unassigned srebhan Aug 13, 2024
@powersj powersj merged commit fc19891 into influxdata:master Aug 13, 2024
27 checks passed
@github-actions github-actions bot added this to the v1.32.0 milestone Aug 13, 2024
@Mrflatt
Copy link
Contributor Author

Mrflatt commented Aug 13, 2024

Thanks for your contribution @Mrflatt!

Thanks for fast review!

@Mrflatt Mrflatt deleted the feat/kafka-header branch September 29, 2024 12:17
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): Option to add metric name as record header
4 participants