Hisoka-X commented on code in PR #7335:
URL: https://github.com/apache/seatunnel/pull/7335#discussion_r1743640327


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/SinkWriter.java:
##########
@@ -92,6 +92,11 @@ interface Context extends Serializable {
         /** @return The index of this subtask. */
         int getIndexOfSubtask();
 
+        /** @return parallelism of this writer. */
+        default int getNumberOfParallelSubtasks() {

Review Comment:
   I am looking for a way to get spark/flink to support both returning 
parallelism.



-- 
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]

Reply via email to