On Tue, 2020-10-06 at 20:46 +0000, Cesar, Scott wrote: > > > ...
> > On Tue, 2020-10-06 at 02:20 +0000, Cesar, Scott wrote: > > Hi Scott > > > > Your code looks correct. However I am wondering why one would want > > to > > convert streaming messages into simple ones in the first place. > > > > Oleg > > Hi Oleg, > There are two reasons I'm interested in turning the streaming > responses from the classic client into simple messages: > > 1) Allowing users to provide very simple in memory parsing solutions > which will run against both synchronous and asynchronous modules. > > 2) Beam has very restrictive serializability requirements. This means > not all out of the box streaming consumption tools available can be > put to work, at least not without some syntactic tradeoffs, so > providing users simple and involved platforms to build off of seems > to make the most sense. > > Scott > Scott I do not know much (anything in fact) about Apache Beam but the whole idea of storing message content in memory just to have the users parse it into some higher level domain object sounds a bit, well, questionable. Otherwise your code seems OK. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org