-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #255 from petabridge/dev
v1.6.0 Release
- Loading branch information
Showing
11 changed files
with
113 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
#### 1.5.5 June 16 2021 #### | ||
* Upgrade [Akka.Bootstrap.Docker to 0.5.3](https://github.com/petabridge/akkadotnet-bootstrap/releases/tag/0.5.3) | ||
#### 1.6.0 April 18 2022 #### | ||
|
||
#### 1.5.4 June 16 2021 #### | ||
* Upgraded to [Akka.NET v1.4.21](https://github.com/akkadotnet/akka.net/releases/tag/1.4.21) | ||
|
||
#### 1.5.3 May 10 2021 #### | ||
* Upgraded to [Akka.NET v1.4.19](https://github.com/akkadotnet/akka.net/releases/tag/1.4.19) | ||
* Upgraded to [Petabridge.Cmd v0.8.5](https://cmd.petabridge.com/articles/RELEASE_NOTES.html#085-may-03-2021) | ||
* Dropped Topshelf support | ||
* Migrated to [Akka.Hosting](https://github.com/akkadotnet/Akka.Hosting) and `IHostedService` | ||
* Significantly reduced idle CPU consumption by migrating to [`channel-executor` for dispatching](https://getakka.net/articles/actors/dispatchers.html#channelexecutor). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="Program.NetCore.cs" company="Petabridge, LLC"> | ||
// Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
using System; | ||
using System.Threading.Tasks; | ||
using Akka.Hosting; | ||
using Microsoft.Extensions.Hosting; | ||
using Petabridge.Cmd.Cluster; | ||
using Petabridge.Cmd.Host; | ||
using Petabridge.Cmd.Remote; | ||
|
||
namespace Lighthouse | ||
{ | ||
public class Program | ||
{ | ||
public static async Task Main(string[] args) | ||
{ | ||
var (config, actorSystemName) = LighthouseConfigurator.LaunchLighthouse(); | ||
var hostBuilder = new HostBuilder(); | ||
hostBuilder.ConfigureServices(services => | ||
{ | ||
services.AddAkka(actorSystemName, builder => | ||
{ | ||
builder.AddHocon(config) // clustering / remoting automatically configured here | ||
.StartActors((system, registry) => | ||
{ | ||
var pbm = PetabridgeCmd.Get(system); | ||
pbm.RegisterCommandPalette(ClusterCommands.Instance); // enable Akka.Cluster management commands | ||
pbm.RegisterCommandPalette(RemoteCommands.Instance); // enable Akka.Remote management commands | ||
pbm.Start(); | ||
}); | ||
}); | ||
}); | ||
|
||
var host = hostBuilder.Build(); | ||
await host.RunAsync(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters