kl0u commented on a change in pull request #13697:
URL: https://github.com/apache/flink/pull/13697#discussion_r512850690



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/Bucket.java
##########
@@ -83,13 +86,15 @@ private Bucket(
                        final long initialPartCounter,
                        final BucketWriter<IN, BucketID> bucketWriter,
                        final RollingPolicy<IN, BucketID> rollingPolicy,
+                       @Nullable final FileLifeCycleListener<IN, BucketID> 
fileListener,

Review comment:
       Here also, why not `Optional`?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to