Re: What async database library does the asyncio code example use?

2020-08-13 Thread Marco Villalobos
Thank you! This was very helpful. Sincerely, Marco A. Villalobos > On Aug 13, 2020, at 1:24 PM, Arvid Heise wrote: > > Hi Marco, > > you don't need to use an async library; you could simply write your code in > async fashion. > > I'm trying to sketch the basic idea using any JDBC driver i

Re: What async database library does the asyncio code example use?

2020-08-13 Thread Arvid Heise
Hi Marco, you don't need to use an async library; you could simply write your code in async fashion. I'm trying to sketch the basic idea using any JDBC driver in the following (it's been a while since I used JDBC, so don't take it too literally). private static class SampleAsyncFunction extends

Re: What async database library does the asyncio code example use?

2020-08-12 Thread KristoffSC
Hi, I do believe that example from [1] where you see DatabaseClient is just a hint that whatever library you would use (db or REST based or whatever else) should be asynchronous or should actually not block. It does not have to be non blocking until it runs on its own thread pool that will return a

Re: What async database library does the asyncio code example use?

2020-08-12 Thread Marco Villalobos
at: > > > https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/stream/operators/asyncio.html > > What async database library does the asyncio code example use? It > references a class called "DatabaseClient". > > > Additionally, does anybody know any a

What async database library does the asyncio code example use?

2020-08-12 Thread Marco Villalobos
ibrary does the asyncio code example use? It references a class called "DatabaseClient". Additionally, does anybody know any async database libraries that work with PostgreSQL that they could recommend?