Skip to content

Conversation

@december1981
Copy link
Contributor

@december1981 december1981 commented Aug 29, 2025

Summary

It would be good to be able to subscribe to multiple mqtt topics where we'd want to subscribe with eg prefix-1/# and prefix-2/# mqtt topic specs, without receiving data from the broker with topics beginning with prefix-3... (which would be a side effect of subscribing with the one topic spec string #).

This change doesn't break current tests, but I've held off on adding any new tests in case this PR will not be approved.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

@december1981 december1981 requested a review from a team as a code owner August 29, 2025 11:52
@bits-bot
Copy link

bits-bot commented Aug 29, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the domain: sources Anything related to the Vector's sources label Aug 29, 2025
@robin-dunn
Copy link

+1

@december1981 december1981 changed the title feature: support multiple mqtt source topics feat: support multiple mqtt source topics Aug 29, 2025
@december1981 december1981 changed the title feat: support multiple mqtt source topics feat(file source): support multiple mqtt source topics Aug 29, 2025
@thomasqueirozb thomasqueirozb changed the title feat(file source): support multiple mqtt source topics feat(mqtt source): support multiple mqtt source topics Aug 29, 2025
Copy link
Contributor

@thomasqueirozb thomasqueirozb 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 the contribution, this makes sense. Tests always appreciated :)

@pront can you take a look too?

@thomasqueirozb thomasqueirozb requested a review from pront August 29, 2025 15:12
@thomasqueirozb thomasqueirozb requested a review from a team as a code owner August 29, 2025 17:33
@github-actions github-actions bot added the domain: external docs Anything related to Vector's external, public documentation label Aug 29, 2025
Copy link
Contributor

@estherk15 estherk15 left a comment

Choose a reason for hiding this comment

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

Left one optional suggestion.

@december1981
Copy link
Contributor Author

I'm going to update the mqtt integration tests today then, as this PR appears to be approved.

@pront pront self-assigned this Sep 2, 2025
@github-actions github-actions bot added the domain: ci Anything related to Vector's CI environment label Dec 22, 2025
@thomasqueirozb
Copy link
Contributor

thomasqueirozb commented Dec 23, 2025

This one should've merged a while ago. Should go in now

@thomasqueirozb thomasqueirozb added this pull request to the merge queue Dec 23, 2025
Merged via the queue into vectordotdev:master with commit 90cf7d0 Dec 23, 2025
49 of 50 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: ci Anything related to Vector's CI environment domain: external docs Anything related to Vector's external, public documentation domain: sources Anything related to the Vector's sources source: mqtt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants