dlmarion commented on code in PR #3124:
URL: https://github.com/apache/accumulo/pull/3124#discussion_r1061411008
##########
core/src/main/java/org/apache/accumulo/core/client/ScannerBase.java:
##########
@@ -390,4 +390,21 @@ default Stream<Entry<Key,Value>> stream() {
return StreamSupport.stream(this.spliterator(), false);
}
+ /**
+ * Set user data on the Scanner. This data will be added to server side
information and logs for
+ * correlation.
+ *
+ * @param userData meaningful data that can be used to correlate server side
information
+ * @since 3.0.0
+ */
+ void setUserData(String userData);
Review Comment:
> Maybe scan is not needed
Makes sense. It would allow us to use the same name (correlationId) on other
client objects, like the BatchWriter, if we wanted to add the same feature
there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]