André Siefken
07/14/2022, 8:19 AMJsonAsyncHttpPinotClientTransport am I supposed to reuse a single Connection across all query requests, or create a new Connection from the ConnectionFactory for each query? Or in other words, is the http connection pool held by the Connection instance, or the ConnectionFactory?André Siefken
07/14/2022, 8:29 AMConnection to be used concurrently, and is it thread safe? Or am I supposed to create a new one for every query and/or every thread?saurabh dubey
07/14/2022, 11:08 AMConnection should be thread safe to use and share. Although, even if you create > 1 Connection objects, they'll share a singleton JsonAsyncHttpPinotClientTransport instance, hence your application will only ever create 1 http client. Although reusing Connection should work too.
cc: @Kartik Khare for more