Skip to content

feat: add wildcard topic matcher, support * and # in routingKeys#668

Closed
Dryymoon wants to merge 4 commits intogolevelup:masterfrom
inyur:feature/topic-pattern
Closed

feat: add wildcard topic matcher, support * and # in routingKeys#668
Dryymoon wants to merge 4 commits intogolevelup:masterfrom
inyur:feature/topic-pattern

Conversation

@Dryymoon
Copy link

Thanks for a good library!

This fix add:

  • Support for amq.topic willcard routing key matching using '@artie-owlet/amqp-routing-match' lib

For example: message with routing key service.v1.log should match routing key service.v1.* and service.#

  • Fixed silently message looping when getting message with mismatching with defined routing key.

  • Fixed package.json mismatch

@Dryymoon Dryymoon changed the title feat: add topic mathcher from @artie-owlet/amqp-routing-match feat: add wildcard topic matcher, support * and # in routingKeys Dec 10, 2023
@underfisk underfisk enabled auto-merge (squash) January 14, 2024 10:41
@underfisk
Copy link
Collaborator

@Dryymoon Could you rebase?

@underfisk
Copy link
Collaborator

@ttshivers If you have some free time and could help the buddy out, i can probably get this merged soon. I wish there was some test coverage as I've never used this library before, have you ever used it? Are there any cons of getting it merged using this library?

@ttshivers
Copy link
Contributor

ttshivers commented Jan 16, 2024

@ttshivers If you have some free time and could help the buddy out, i can probably get this merged soon. I wish there was some test coverage as I've never used this library before, have you ever used it? Are there any cons of getting it merged using this library?

I'm trying to understand the goal of this PR. Is this to double check that the message received on a queue matches the routing keys defined in code? Is the thought that there might be extra queue bindings defined on rabbitmq and we should do consumer verification and throw errors when we get unexpected messages?

@underfisk underfisk disabled auto-merge January 27, 2024 00:24
@underfisk
Copy link
Collaborator

I'm closing this PR, we'll re-open if we figure out that it is actually valuable. @ttshivers has left some interesting thoughts, i'd love to also understand a bit better this change

@underfisk underfisk closed this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants