Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Azure.Messaging.ServiceBus messages bigger than 1MB are empty #24253

Closed
Uleertel opened this issue Sep 27, 2021 · 2 comments
Closed

[BUG] Azure.Messaging.ServiceBus messages bigger than 1MB are empty #24253

Uleertel opened this issue Sep 27, 2021 · 2 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@Uleertel
Copy link

Describe the bug
I have a Premium Service Bus namespace with a topic configured to receive messages up to 100MB.
I have created a basic .NET 5 console app using the latest 7.2.1 Azure.Messaging.ServiceBus package.
I send to the topic a message with a string slightly over 1MB which was the old limit.
The message is sent without error.
In the queue the message exists but it is empty and with a size of 0. (checked with the azure portal service bus explorer, and queue explorer application).
I have tested both ServiceBusTransportType.AmqpWebSockets/AmqpTcp TransportTypes

Expected behavior
The message should not be empty.

Actual behavior (include Exception or Stack Trace)
The message with a content over 1MB is sent successfully but appears to have an empty content in the queue.

To Reproduce

string fileContent = File.ReadAllText("file.Log");

        var option = new ServiceBusClientOptions();

        option.TransportType = ServiceBusTransportType.AmqpTcp;

        client = new ServiceBusClient(connectionString, option);

        sender = client.CreateSender(queueName);

        await sender.SendMessageAsync(new ServiceBusMessage(fileContent));

Environment:

  • Azure.Messaging.ServiceBus 7.2.1
  • Windows 10 .NET 5
  • VS 16.11.3
@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 27, 2021
@jsquire jsquire added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Sep 28, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 28, 2021
@jsquire
Copy link
Member

jsquire commented Sep 28, 2021

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@Uleertel
Copy link
Author

I close my request because after further testing it is not a bug in the sending of the message but only a display bug on the Azure Portal where the service bus Explorer is showing empty message whereas it's not. And other tools have the same bug like Queue explorer or Service bus explorer application.
When the message is read, for example by an azure function trigger, the full content is received.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants