FileSink has 2 options: append or overwrite.
Sometimes users forget to change the filename but they don't intend to either lose data (overwrite) or modify it (append).
An option to configure FileSink to throw an exception if the file already exists will be useful.
FileSink has 2 options: append or overwrite.
Sometimes users forget to change the filename but they don't intend to either lose data (overwrite) or modify it (append).
An option to configure FileSink to throw an exception if the file already exists will be useful.