Azure Servicebus: Migrate to new SDK and imeplement missing methods

未关闭
#44 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure, csharp
领域
cloud

调研方向

The issue identifies the Azure Service Bus plugin and its publisher and receiver methods, but does not name source files or tests. Start by locating the plugin and checking its existing SDK references and implemented methods; then compare those with the wiki examples. Done means the supported SDK is used, the missing methods work, and the compatibility decision is resolved. The issue says the author is already implementing a PR and has had no activity for over three years.

由索引模型根据 Issue 内容生成。

描述

enhancement question

Hello,
the AzureServicebus plugin for FluentStorage is implemented with the package Microsoft.Azure.ServiceBus wich is deprecated since 2021. I cannot use it in any of my projects cause conflicts with outated references:
Version conflict detected for System.IdentityModel.Tokens.Jwt. I

Also there are missing functionalities, in the wiki we have this:

IMessagePublisher queuePublisher = StorageFactory.Messages.AzureServiceBusQueuePublisher(
                       connectionString,
                       queueName);

IMessagePublisher topicPublisher = StorageFactory.Messages.AzureServiceBusTopicPublisher(
                       connectionString,
                       topicName);

IMessageReceiver queueReceiver = StorageFactory.Messages.AzureServiceBusQueueReceiver(
                       connectionString,
                       queueName,
                       peekLock);

IMessageReceiver topicReceiver = StorageFactory.Messages.AzureServiceBusTopicReceiver(
                       connectionString,
                       topicName,
                       subscriptionName,
                       peekLock);

But in realty only these methods are currently implemented:
image

Plus i'm not 100% sure that sending directly to subiscriptions will work with the actual code.

I'm implementing a PR wich fixes everything and use the current, supported package.

Should my PR replace the current plugin (there would be breaking changes, is inevitable) or should i make a new package FluentStorage.Azure.Messaging.ServiceBus (wich is similar to the name of the new Microsoft package) e maintain the older for retrocompatibility?

主要语言
C#
星标
464
派生
78
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

robinrodricks/FluentStorage 的其他 Issue

查看 robinrodricks/FluentStorage 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。