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

Dependency Injection too vague #47586

Open
joshbinney opened this issue Dec 17, 2024 · 3 comments
Open

Dependency Injection too vague #47586

joshbinney opened this issue Dec 17, 2024 · 3 comments
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. Docs Event Hubs feature-request This issue requires a new behavior in the product in order be resolved. good first issue This issue tracks work that may be a good starting point for a first-time contributor help wanted This issue is tracking work for which community contributions would be welcomed and appreciated
Milestone

Comments

@joshbinney
Copy link

Type of issue

Typo

Description

Hey, the dependency injection section is missing a lot of detail. How do we inject an EventProcessorClient? There are a lot of other clients too that aren't mentioned. If it is not possible to do so, please add that to the documentation.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/overview/azure/messaging.eventhubs-readme?view=azure-dotnet#registering-with-aspnet-core-dependency-injection

Content source URL

https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/api/overview/azure/latest/messaging.eventhubs-readme.md

Document Version Independent Id

7a8fbaaf-994b-eb9f-be4b-056f33556ffd

Article author

@azure-sdk

Metadata

  • ID: bf82af3a-81e8-70f3-9c42-660b8481caf1
  • Service: event-hubs
@github-actions github-actions bot added 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. Event Hubs needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 17, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@jsquire
Copy link
Member

jsquire commented Dec 17, 2024

Thank you for your feedback, @joshbinney. You cannot inject an event processor-based type (including EventProcessorClient) nor the EventHubBufferedProducer by design, as these are intended to be directly instantiated, configured, and then explicitly managed by an application.

We'll look at getting the docs updated to clarify.

@jsquire jsquire added feature-request This issue requires a new behavior in the product in order be resolved. Docs help wanted This issue is tracking work for which community contributions would be welcomed and appreciated good first issue This issue tracks work that may be a good starting point for a first-time contributor and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 17, 2024
@jsquire jsquire removed their assignment Dec 17, 2024
@jsquire jsquire removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 17, 2024
@jsquire jsquire added this to the Backlog milestone Dec 17, 2024
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 17, 2024
@jsquire jsquire moved this to Planned in Azure SDK for Event Hubs Dec 17, 2024
@jsquire jsquire removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 17, 2024
@joshbinney
Copy link
Author

joshbinney commented Dec 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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. Docs Event Hubs feature-request This issue requires a new behavior in the product in order be resolved. good first issue This issue tracks work that may be a good starting point for a first-time contributor help wanted This issue is tracking work for which community contributions would be welcomed and appreciated
Projects
Status: Planned
Development

No branches or pull requests

2 participants