orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Sanitize "." for Azure Queue name and make Queue name configurable

Open KTazayan opened this issue 8 years ago • 5 comments

I'm getting exceptions when project name isn't so long or contains "." for example name is "SiloHost.NetCore".

  1. Make Azure Queue name configurable or partially configurable. For example for case when silo host is SF service my queue name is "fabric--distrtestapplication-silohost.netcore-azurequeueprovider-0". It contains 66 symbols instead of max allowed. I want to remove or configure "fabric--" prefix or something else.

  2. Sanitize "." with dash "-" as other symbols in AzureQueueDataManager.SanitizeQueueName.

KTazayan avatar May 11 '18 08:05 KTazayan

I assume adding this kind of sanitization won't break any backward compatibility. @xiazen, do you agree?

sergeybykov avatar May 11 '18 16:05 sergeybykov

I agree

xiazen avatar May 11 '18 18:05 xiazen

we can sanitize it without breaking anyone. And make azure queue configurable is already an agreed feature to add based on a similar issue before. just we haven't got down to do it.

xiazen avatar May 11 '18 18:05 xiazen

submitted #4582 to sanitize . from azure queue name. Make azure queue name configurable needs more changes. But I don't have more bandwidth to do it now, so I suggest to put that feature in backlog. @KTazayan feel free to contribute to make it configurable before we get to it.

xiazen avatar May 11 '18 23:05 xiazen

Ok, thanks. And also other issue is: "Consecutive dash characters are not permitted in the queue name, while your queueName is fabric--distrtestapplication-silohost-netcore-aqprovider-1. Parameter name: fabric--distrtestapplication-silohost-netcore-aqprovider-1"

KTazayan avatar May 15 '18 08:05 KTazayan