cshuo commented on code in PR #19692:
URL: https://github.com/apache/hudi/pull/19692#discussion_r3827229965
##########
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?
--
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]