I need to Write Data in File(GCS BUCKET FILE) in Append Mode But I am Getting Error
java.lang.UnsupportedOperationException: APPEND
The Code Which I Wrote is:
FileSystem fs = FileSystems.getFileSystem(URI.create("gs://test"));
byte[] data = "hello world".getBytes(StandardCharsets.UTF_8);
Path path = fs.getPath("/Testing");
Files.write(path, data,StandardOpenOption.CREATE,StandardOpenOption.APPEND );
Is it a Bug or I am Missing Something ?