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

[release/8.0] Event Hubs: Update EventProcessorClient component to pull BlobClient from DI (#3293) #3921

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Apr 24, 2024

Backport of #3293 to release/8.0

Customer Impact

On the initial PR of Azure EventHubs there was some usability / composability issues that were addressed in a follow-up PR. Even though the EventHubs component will still be in "preview" when Aspire 8.0.0 is GA, getting feedback on this change is important to ensure we have the right API for the EventHubs component. If we don't take this change, we won't be able to get true feedback on the API.

It also makes porting other changes (like the tests in #3919) to reduce conflicts and "drift" between main and release/8.0.

Testing

The unit tests were updated for the new functionality. playground app is updated as well.

Risk

Low. EventHubs will still be in preview when 8.0.0 ships. There is some internal refactoring to the common Azure shared code, but it doesn't change behavior.

Regression?

No


  • update sample EH project launchsettings; add blob component for processor

  • update azurecomponent to expose serviceprovider; update associated components; update processor for DI retrieval of blob client

  • throw if blobclient cannot be retrieved from DI (this is a breaking change from P5)

  • fix tests

  • PR feedback

  • More PR feedback

  • Rename BlobClientConnectionName to BlobClientServiceKey.

Remove the need to specify a BlobClientServiceKey, and use an unkeyed client if none is provided.

  • fix tests

  • fixup formatting


Microsoft Reviewers: Open in CodeFlow

…from DI (dotnet#3293)

* update sample EH project launchsettings; add blob component for processor

* update azurecomponent to expose serviceprovider; update associated components; update processor for DI retrieval of blob client

* throw if blobclient cannot be retrieved from DI (this is a breaking change from P5)

* fix tests

* PR feedback

* More PR feedback

* Rename BlobClientConnectionName to BlobClientServiceKey.

Remove the need to specify a BlobClientServiceKey, and use an unkeyed client if none is provided.

* fix tests

* fixup formatting

---------

Co-authored-by: Eric Erhardt <[email protected]>
Co-authored-by: Sebastien Ros <[email protected]>
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-integrations Issues pertaining to Aspire Integrations packages label Apr 24, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 24, 2024
@eerhardt eerhardt changed the title Event Hubs: Update EventProcessorClient component to pull BlobClient from DI (#3293) [release/8.0] Event Hubs: Update EventProcessorClient component to pull BlobClient from DI (#3293) Apr 24, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 26, 2024
@danmoseley
Copy link
Member

@mitchdenny do you want to be other sign off?

@danmoseley danmoseley merged commit 0f4560a into dotnet:release/8.0 Apr 27, 2024
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants