question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Correlation topic filter stopped working after upgrading the `@azure/service-bus` package version to `7.0.0`

See original GitHub issue
  • Package Name: @azure/service-bus
  • Package Version: 7.0.0
  • Operating system: Ubuntu 18.10
  • nodejs
    • version: v12.18.3
  • typescript
    • version: 3.4.5

Describe the bug We have started working on updating our Azure Service Bus common wrapper implementation according to the migration guide for v7 and facing a strange issue where the correlation topic filter stopped working after upgrading the @azure/service-bus package version to 7.0.0.

To Reproduce

  1. We use this code to publish messages to a topic. image

  2. We use this code to create a correlation filter for a subscription on a topic. image

Expected behavior Ideally, this correlation filter should work fine & the subscriber should receive a message that matches the correlation filter but unfortunately, it’s not working. However, when we create the rule with the same correlation filter from the service bus explorer, the subscriber starts receiving the messages. I think there is some issue with the createRule function.

Any help you guys can provide would be greatly appreciated. Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
HarshaNallurucommented, Jan 12, 2021

@mnaeem95 Version 7.0.1 for @azure/service-bus has been published and it should contain the fix. 😃

You can install it with npm install @azure/service-bus.

Feel free to open new issues in this repository in case you run into problems.

0reactions
mnaeem95commented, Jan 8, 2021

@HarshaNalluru Thanks for the update. I will test it using this dev version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Topic filters and actions - Azure Service Bus - Microsoft Learn
This article explains how subscribers can define which messages they want to receive from a topic by specifying filters.
Read more >
azure-sdk-for-js/CHANGELOG.md at main - service-bus - GitHub
[Bug Fix] Correlation Rule Filter with the "label" set using the createRule() method doesn't filter the messages to the subscription. The bug ...
Read more >
Create filtered Service Bus subscription using .NET Core SDKs
You can create filters with the Microsoft.Azure.Management.ServiceBus package, they're part of Rules. await client.Rules.
Read more >
azure-servicebus - PyPI
Microsoft Azure Service Bus Client Library for Python. ... Working with topics and subscriptions; Settle a message after receipt; Automatically renew ...
Read more >
Azure Service Bus client library for .NET
Prerequisites. Microsoft Azure Subscription: To use Azure services, including Azure Service Bus, you'll need a subscription. If you do not have ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found