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

Add Microsoft.Extensions.Configuration provider for azure queue streaming #8929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tskimmett
Copy link

@tskimmett tskimmett commented Mar 31, 2024

I'm interested in using Aspire with an Orleans project I'm working on which uses Azure storage for persistence/streaming, but I saw Orleans doesn't yet support the streaming config sent over by the Aspire apphost. I based my changes off of #8764 and did some pretty minimal manual testing using the orleans sample in the Aspire playground.

Microsoft Reviewers: Open in CodeFlow

{
public void Configure(ISiloBuilder builder, string name, IConfigurationSection configurationSection)
{
builder.AddAzureQueueStreams(name, (OptionsBuilder<AzureQueueOptions> optionsBuilder) =>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if this also needs to support configuring the MessageVisibilityTimeout. I can get that added in if so.

@ReubenBond
Copy link
Member

@benjaminpetit PTAL - what should IConfiguration support look like for Azure Queues

@tskimmett a test would be helpful here. Eg, update some/all of the existing Azure Queue Streaming tests to use this functionality.

@ReubenBond ReubenBond changed the title add Microsoft.Extensions.Configuration provider for azure queue streaming Add Microsoft.Extensions.Configuration provider for azure queue streaming May 15, 2024
@tskimmett
Copy link
Author

I looked to see if there were relevant tests that could be updated for this and couldn't really tell, but I can take another look at that.

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.

None yet

3 participants