Has anyone tried this or any ideas how I can implement this??
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
does this mean you have to buffer the complete request body in memory before sending it to the store api?
That can be done easily by using RxJava since the map function you can use is just buffer.append in that case.
This will give you a Buffer with the complete post body, which should be ok for files up to a few megs, but it's note really streaming of course
On Tuesday, July 22, 2014 2:44:53 AM UTC+2, mhima...@gmail.com wrote:Thanks for your reply.The problem is swift doesn't allow file to be uploaded in parts.
On Sunday, July 20, 2014 6:21:49 AM UTC-4, Alexander Lehmann wrote:Vert.x will send you chunks of the http body data via the data handler, so you will receive the data as it is being send, if you can write that to the store in chunks, that should be easy to implement (haven't used swift yet, so I'm not sure if there is a vert.x module for that).
On Sunday, July 20, 2014 2:52:08 AM UTC+2, mhima...@gmail.com wrote:
Hi,
I have specific requirement to stream file from http request directly to object store(OpenStack swift) on Vert.xHas anyone tried this or any ideas how I can implement this??
--