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

SizeInBytes should be defined Long Type not Integer. #32064

Closed
luozhigang opened this issue Nov 10, 2022 · 5 comments · Fixed by #32126
Closed

SizeInBytes should be defined Long Type not Integer. #32064

luozhigang opened this issue Nov 10, 2022 · 5 comments · Fixed by #32126
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. 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 Service Bus

Comments

@luozhigang
Copy link

when call ServiceBusAdministrationClient.listTopics, it will throw exception. SizeInBytes is larger Integer.Max。 SizeInBytes should be defined Long Type。

com.fasterxml.jackson.databind.JsonMappingException: Numeric value (null) out of range of int
at [Source: (StringReader); line: 1, column: 54511] (through reference chain: com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionFeed["entry"]->java.util.ArrayList[23]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionEntry["content"]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionEntryContent["TopicDescription"]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescription["SizeInBytes"])

@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 Nov 10, 2022
@joshfree joshfree added Service Bus Client This issue points to a problem in the data-plane of the library. labels Nov 11, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Nov 11, 2022
@joshfree
Copy link
Member

@liukun-msft could you please follow up with @luozhigang on this github issue? thanks

@liukun-msft
Copy link
Contributor

@joshfree Sure, I'll check and get back soon.

@liukun-msft
Copy link
Contributor

liukun-msft commented Nov 14, 2022

@luozhigang Thank you for contacting us. Yes, this is a valid issue. This error occurs when the total message size in the queue/topic exceeds the integer limit (~2GB). I will keep you updated as soon as the fix version is released.

@luozhigang
Copy link
Author

@liukun-msft
Thank you for your update. May I know when the fix version code will be online?

@liukun-msft
Copy link
Contributor

@luozhigang
We have started the release process. The new service bus version will be 7.13.0 and it will be available later today or tomorrow.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. 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 Service Bus
Projects
None yet
3 participants