@José: I worry that this will become a big strain to the state server. I don't know much about the internal architecture to be certain of this, though..
@Matthew: This would side-step jujuresources. It might be feasible if jujuresources could provide a way for the Charm to Share that resource, though... Even then, we might get into trouble if the binaries aren't included as a resource but are compiled during installation... 2016-01-20 16:10 GMT+01:00 Matthew Williams <[email protected]> : > Would it not be better for the charm to have a path the client can `wget` > the libraries from - this path can be sent via the relation as a string > > Matty > > On Wed, Jan 20, 2016 at 2:30 PM, José Antonio Rey <[email protected]> wrote: > >> Hey, >> >> One of the options would be to cat the file as a string and pass that >> string over the connection, finally echoing that string to foo.binary. >> >> What do others think? >> >> -- >> José Antonio Rey >> >> On Wed, Jan 20, 2016, 08:25 Merlijn Sebrechts < >> [email protected]> wrote: >> >>> Hi >>> >>> >>> I have a question I'd like to discuss, if you guys aren't to busy >>> prepping for Ubucon.. :) >>> >>> I've found a number of Java projects where, in order to communicate for >>> example with Kafka, they require the Kafka Java libraries for that specific >>> version. For the moment, I solve this by downloading the libraries from a >>> deployed Kafka installation and include them in the Charm. However, this >>> has the disadvantage that everytime the Kafka charm version changes, I have >>> to update the libraries in all the charms that connect to Kafka. It would >>> be better if there was a way to send these libraries over the connection. >>> This way, a Charm that can connect to one version of Kafka has a very high >>> chance of being able to connect to the next version. >>> >>> So my question is: Is there a way to send large binary files between >>> Charms? Or is this problem better solved by using a subordinate >>> kafka-plugin Charm like the Hadoop Charms do? >>> >>> >>> >>> Kind regards >>> Merlijn Sebrechts >>> -- >>> Juju mailing list >>> [email protected] >>> Modify settings or unsubscribe at: >>> https://lists.ubuntu.com/mailman/listinfo/juju >>> >> >> -- >> Juju mailing list >> [email protected] >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju >> >> >
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
