-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fork/rafek1241/feature/add azure event hubs #1
Fork/rafek1241/feature/add azure event hubs #1
Conversation
…ture/add-azure-event-hubs
…ture/add-azure-event-hubs
… into fork/rafek1241/feature/add-azure-event-hubs
properties.Add("UseDevelopmentEmulator", UseDevelopmentEmulator); | ||
properties.Add("SharedAccessKeyName", "RootManageSharedAccessKey"); | ||
properties.Add("SharedAccessKey", "SAS_KEY_VALUE"); | ||
properties.Add("UseDevelopmentEmulator", "true"); | ||
return string.Join(";", properties.Select(property => string.Join("=", property.Key, property.Value))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you not using const strings for hardcoded values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not using them somewhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tendency to make everything hardcode in const strings in case we want to change something later then we have one place to change and we won't break something if it is repeated somewhere ;p
Thanks for the review and feedback. Could you merge the PR when you have the chance? I will review the configuration builder and documentation later. Thanks! |
Thanks for the PR! I reviewed most of it and aligned a few things with the repository standards and the Service Bus module. Next, I need to take a look at the configuration builder and documentation. If we can merge these suggestions, that would be great. I'll try to review the remaining parts by tomorrow or the day after. Let me know what you think.