Re: [akka-user] [akka-stream] Is there a way to access Configuration from Flow?

2016-02-22 Thread Akka Team
Hi Alexey, There is no built-in way to access the configuration, but as you noted, you can inject it as an element. This is actually safe because configuration in Akka systems is always immutable. Technically, you can even close over a val containing the configuration but be careful though

[akka-user] [akka-stream] Is there a way to access Configuration from Flow?

2016-02-17 Thread Alexey Shuksto
Hello there, Is there a way to access run-time system configuration in GraphDSL.create(...) similar to as any Actor could access one via `context.system.settings.config`? I can, possibly do something like `flow.zip(Source.repeat(config))`, but maybe there is some approach that will not