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

Drop the janky scala routing and use Ceen built in routing instead #1152

Merged
merged 2 commits into from Dec 29, 2022

Conversation

Arkatufus
Copy link
Contributor

No description provided.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -41,14 +41,14 @@ public ClusterMember(Address node, long nodeUid, MemberStatus status, ImmutableH

public sealed class SeedNodes
{
public SeedNodes(Address selfNode, ImmutableHashSet<ClusterMember> nodes)
public SeedNodes(Address selfNode, ImmutableList<ClusterMember> nodes)
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible that this could allow duplicates?

Copy link
Member

Choose a reason for hiding this comment

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

Nope, it can't - comes from the Cluster object itself which already de-dupes them.

@@ -48,21 +54,31 @@ public static class AkkaHostingExtensions
/// </returns>
public static AkkaConfigurationBuilder WithAkkaManagement(
this AkkaConfigurationBuilder builder,
Dictionary<string, IManagementRouteProvider>? providers = null,
Copy link
Member

Choose a reason for hiding this comment

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

Move this to the back of the parameter list, since it's an advanced feature

Copy link
Member

Choose a reason for hiding this comment

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

I'd make Akka.Cluster.Bootstrap the default here

@Aaronontheweb Aaronontheweb merged commit 5b8b6c4 into akkadotnet:dev Dec 29, 2022
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

2 participants