echauchot commented on code in PR #19680: URL: https://github.com/apache/flink/pull/19680#discussion_r875671860
########## flink-core/src/main/java/org/apache/flink/api/common/io/OutputFormat.java: ########## @@ -71,9 +71,10 @@ * <p>When this method is called, the output format it guaranteed to be opened. * * @param record The records to add to the output. - * @throws IOException Thrown, if the records could not be added to to an I/O problem. + * @throws Exception Thrown, if the records could not be added due to an I/O problem or a + * timeout. */ - void writeRecord(IT record) throws IOException; + void writeRecord(IT record) throws Exception; Review Comment: I'll do the unchecked exception change only on `CassandraOutputFormat` and not on `CassandraSink` to avoid a breaking change in exception management for sink users: avoid them getting `RuntimeException(e)` in place of `e` in case of exception. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org