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

Fixed #2643 Added a data adapter to azure queue stream provider by @jason-bragg #2658

Merged
merged 5 commits into from Jan 30, 2017

Conversation

sergeybykov
Copy link
Contributor

This is an attempt to fix #2643, which has a build failure in vNext.

The data adapter allows users to use the new v2 versions of sequence token and batch container without risking changes to the original versions, which are being used in production services.
The adapter also allows service developers to control how data is structured in azure queues, enabling the streaming of azure queue events of legacy systems or systems integrated with other non-orleans services.
@sergeybykov sergeybykov added this to the 1.4.0 milestone Jan 30, 2017
@@ -4,8 +4,16 @@ namespace Orleans.Providers.Streams.AzureQueue
{
/// <summary>
/// Persistent stream provider that uses azure queue for persistence
/// WARNING: This version is maintained for compatability purposes. New services should use AzureQueueStreamProviderV2 as it supports external serializers.
Copy link
Member

Choose a reason for hiding this comment

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

WARNING: This version is maintained for compatability purposes. New services should use AzureQueueStreamProviderV2 as it supports external serializers [](start = 8, length = 151)

Should we mark this class as obsolete?

@ReubenBond
Copy link
Member

@sergeybykov the exception in tests:

Orleans.CodeGenerator.CodeGenerationException : Found GenerateSerializerAttribute for type global::Orleans.Providers.Streams.AzureQueue.AzureQueueBatchContainerV2, but code could not be generated. Ensure that the type is accessible.

Ought to go away if build-time code generation is enabled for the Azure utils project

@@ -114,25 +114,11 @@
<None Include="project.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- Begin Orleans: Without these lines the project won't build properly -->
Copy link
Member

Choose a reason for hiding this comment

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

This change should be un-reverted so that the code generator can operate at build-time. The runtime code generator cannot access those internal types.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just pushed with that commit removed. :-)

@@ -114,25 +114,11 @@
<None Include="project.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- Begin Orleans: Without these lines the project won't build properly -->
<PropertyGroup>
<OrleansProjectType>Server</OrleansProjectType>
Copy link
Member

Choose a reason for hiding this comment

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

these particular lines aren't needed, though - we don't use this property anymore

@benjaminpetit benjaminpetit merged commit c6457f2 into dotnet:master Jan 30, 2017
@sergeybykov sergeybykov changed the title Fixed #2643 Added a data adapter to azure queue stream provider by @jason-gragg Fixed #2643 Added a data adapter to azure queue stream provider by @jason-bragg Jan 30, 2017
@sergeybykov sergeybykov deleted the 2643-AQ-v2 branch February 1, 2017 20:10
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants