fhan688 commented on code in PR #19692:
URL: https://github.com/apache/hudi/pull/19692#discussion_r3830301181


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/StreamWriteFunction.java:
##########
@@ -155,6 +154,12 @@ public class StreamWriteFunction extends 
AbstractStreamWriteFunction<HoodieFlink
   private transient NormalizedKeyComputer recordKeyComputer;
   private transient RecordComparator recordKeyComparator;
 
+  private enum BufferWriteResult {
+    SUCCESS,
+    BUFFER_CREATION_FAILED,
+    BUFFER_DIVERGED

Review Comment:
   > Could we rename `BUFFER_DIVERGED` to `BUFFER_WRITE_FAILED` to describe the 
write outcome more clearly?
   
   I’ll remove BufferWriteResult based on the follow-up suggestion, so this 
enum constant and its naming will no longer apply.



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