Azure Servicebus: Migrate to new SDK and imeplement missing methods

Abierto
#44 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
azure, csharp
Área
cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
C#
Estrellas
464
Forks
78
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de robinrodricks/FluentStorage

Todos los issues de robinrodricks/FluentStorage

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.