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

Fork/rafek1241/feature/add azure event hubs #1

Conversation

HofmeisterAn
Copy link

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.

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)));
Copy link
Owner

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?

Copy link
Author

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.

Copy link
Owner

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

@HofmeisterAn
Copy link
Author

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!

@rafek1241 rafek1241 merged commit d9f4bdc into rafek1241:feature/add-azure-event-hubs Feb 6, 2025
@HofmeisterAn HofmeisterAn deleted the fork/rafek1241/feature/add-azure-event-hubs branch February 6, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants