peterxcli commented on code in PR #1469:
URL: https://github.com/apache/ratis/pull/1469#discussion_r3408064254
##########
ratis-server-api/src/main/java/org/apache/ratis/server/RaftServer.java:
##########
@@ -150,6 +153,18 @@ default RaftGroup getGroup() {
/** @return the data stream rpc service. */
DataStreamServerRpc getDataStreamServerRpc();
+ /**
+ * Submit a read-only request whose response may be streamed through the
data stream RPC.
+ *
+ * @param request the read-only request
+ * @param stream the stream for response data chunks
+ * @return a future for the terminal reply
+ */
+ default CompletableFuture<RaftClientReply> streamReadOnlyAsync(
+ RaftClientRequest request, StateMachine.DataChannel stream) throws
IOException {
+ throw new UnsupportedOperationException("This method is NOT supported.");
+ }
Review Comment:
opened a ticket for this: https://issues.apache.org/jira/browse/RATIS-2559
--
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]