akka / alpakka

Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
https://doc.akka.io/libraries/alpakka/current/
Other
1.26k stars 645 forks source link

S3 client as akka extension. #84

Closed agolubev closed 6 years ago

agolubev commented 8 years ago

Perhaps more like discussion point.

johanandren commented 8 years ago

Wouldn't that limit it to accessing one s3 account per actor system? What about streaming things between different accounts?

agolubev commented 8 years ago

Wouldn't that limit it to accessing one s3 account per actor system? What about streaming things between different accounts?

It's possible (maybe need to create a ticket for adding such example in doc). API will be changed anyway.

agolubev commented 8 years ago

@johanandren, let me know if it makes sense. And streaming things between accounts is one of use cases here. (will add tests for this case)

francisdb commented 7 years ago

What exactly would an 'akka extension' bring compared to what is currently available? Isn't it already possible to have multiple clients in one jvm?

agolubev commented 7 years ago

@francisdb it's about having configuration along with akka configuration. Extensions fill natively within akka ecosystem (clustering and typed actors are also extensions).
Right now s3 has an implementation for using in streams but not pretty match in actors - that's the reason for adding an extension support. Also, currently it can be loaded only as a single instance from a conf file.

ennru commented 6 years ago

The handling of S3 configuration will be improved as of release 0.16. Now it is easier to set up several S3 connectors within one actor system. Alpakka connectors should not be seen as part of akka configuration as we discuss in #606 .