Hi.

The javadoc documentation of the class KuduSession[1] claims that it is not
thread-safe. So, I was wondering If there is a pooling mechanism or similar
for multi-threaded applications.

I would like to execute multiple operations such as: session.apply(upsert),
session.apply(update) and session.apply(delete) in a multiple threads using
a shared variable session.

Is that possible? How should I be handling KuduSession and flushing in a
multi thread environment.

Thanks in advance for your help.

[1] https://kudu.apache.org/apidocs/org/apache/kudu/client/KuduSession.html

Cheers,
John Mora.

Reply via email to