-
Notifications
You must be signed in to change notification settings - Fork 11
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
Multi journal config feature implementation #272
Conversation
@Arkatufus is this already implemented or does this still need to be merged? |
…ence.Azure into Multi_journal_POC
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 - @Arkatufus can you do a separate PR to cleanup the copyright headers on the code sample?
// <copyright file="ShardRegionKey.cs" company="Akka.NET Project"> | ||
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net> | ||
// </copyright> | ||
// ----------------------------------------------------------------------- |
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.
No DNF headers here - this is a Petabridge project
|
||
builder.AddSetup(setup); | ||
builder.AddSetup(multiSetup); |
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
Multi journal configuration feature based on discussion in akkadotnet/Akka.Hosting#142
AzureTableStorageMultiJournalSetup
andAzureBlobMultiSnapshotSetup
class are wrapper classes that contains a dictionary that maps journal/snapshot config id with their respective setup classes.Setup
class are applied on to the respective journal/snapshot settings twice, once for the "global"Setup
class and then with the individual per IDSetup
classes, if any were found.Option classes are added for Azure journal and snapshot, the
AzureTableStorageJournalOptions
class allows user to setup multiple journal with different journal identifiers so that it can be used by other plugins that can utilize specific journal ids