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(inputs.mqtt_consumer): Add variable length topic parsing #15528

Merged
merged 5 commits into from
Jun 18, 2024

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Jun 17, 2024

Summary

This PR allows to use a variable length indicator for topic parsing. The hash (#) sign indicates zero to N arbitrary path elements that are ignored during parsing.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #10716

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jun 17, 2024
@srebhan srebhan self-assigned this Jun 17, 2024
@telegraf-tiger
Copy link
Contributor

@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 Jun 18, 2024
@srebhan srebhan assigned powersj and DStrand1 and unassigned srebhan Jun 18, 2024
@DStrand1 DStrand1 removed their assignment Jun 18, 2024
@powersj powersj merged commit 784ede9 into influxdata:master Jun 18, 2024
27 checks passed
@github-actions github-actions bot added this to the v1.32.0 milestone Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mqtt feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input 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.

Accept varying topic lengths in MQTT topic parsing configs
3 participants