Is it possible to extract the requestId of an Amazon Neptune Gremlin query via gremlin-driver?

Is there any way via gremlin-driver to extract the requestId of a completed query submitted to Amazon Neptune? Specifically when it's submitted either using a Client or via Bytecode. Or is using the REST endpoint the only way to achieve this?
2 Replies
spmallette
spmallette17mo ago
So, if you deal with the driver at the level of Client.submit(...) that returns a ResultSet. The ResultSet has getOriginalRequestMessage(). If you access the request id on that it should give you that request id.
gdotv
gdotv17mo ago
That's great, thanks for the quick answer!
Want results from more Discord servers?
Add your server