How can I set x-opaque-id when I use es-sql？
No individual pings, please, kindly keep it to
You'd have to set it as a header, just like with the other REST APIs - see reference documentation - and you'd get back the value as a header. Though I assume you did that -- did it not work?
I use jdbc not REST API，so I don't know where to set it in jdbc connection
I think that's currently not possible, JDBC doesn't take a configuration property for that, unfortunately. Feel free to open an issue / feature request on Github, though.
As a hacky alternative, I guess you could SELECT a unique literal token in the SQL query itself, if that's at all feasible, to help correlate requests and responses.