-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add EventGrid samples and readme #15461
Conversation
sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/README.md
Outdated
Show resolved
Hide resolved
sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/README.md
Outdated
Show resolved
Hide resolved
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.
LGTM
sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/README.md
Outdated
Show resolved
Hide resolved
sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/README.md
Outdated
Show resolved
Hide resolved
@@ -42,7 +43,7 @@ internal EventGridExtensionConfigProvider(Func<EventGridAttribute, IAsyncCollect | |||
// default constructor | |||
public EventGridExtensionConfigProvider(ILoggerFactory loggerFactory) | |||
{ | |||
_converter = (attr => new EventGridAsyncCollector(new EventGridPublisherClient(new Uri(attr.TopicEndpointUri), new EventGridSharedAccessSignatureCredential(attr.TopicKeySetting)))); | |||
_converter = (attr => new EventGridAsyncCollector(new EventGridPublisherClient(new Uri(attr.TopicEndpointUri), new AzureKeyCredential(attr.TopicKeySetting)))); |
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.
Unrelated to this PR: Is there something we could have done in the EventGrid SDK Documentation itself to make it clear which of these you needed to use?
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 have a comment from ApiView about a potential rename of the type to include SAS in the name. Not sure if that would have helped.
Alias description change (Azure#15461)
cc @kasobol-msft @fabiocav