Skip to content

Couldn't build an actor materializer settings. akka.stream.materializer config path is not defined. #2263

@mikhailshilkov

Description

@mikhailshilkov
Couldn't build an actor materializer settings. `akka.stream.materializer` config path is not defined.
   at Akka.Streams.ActorMaterializerSettings.Create(ActorSystem system)
   at RxStreams\Program.cs:line 27
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)

is thrown when the following code is executed with default config (no HOCON):

using (var sys = Akka.Actor.ActorSystem.Create("TestSystem"))
{
    var settings = ActorMaterializerSettings.Create(sys); // fails
}

Materializer factory copes with this by injecting the default configuration

system.Settings.InjectTopLevelFallback(DefaultConfig());

I guess ActorMaterializerSettings needs a default fallback too.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions