zentol commented on code in PR #19586: URL: https://github.com/apache/flink/pull/19586#discussion_r860859775
########## flink-connectors/flink-connector-cassandra/src/main/java/org/apache/flink/streaming/connectors/cassandra/CassandraSinkBase.java: ########## @@ -72,6 +74,16 @@ ClosureCleaner.clean(builder, ExecutionConfig.ClosureCleanerLevel.RECURSIVE, true); } + /** + * Set writes to be synchronous (block until writes are completed). + * + * @param timeout Maximum number of seconds to wait for write completion + */ + public void setSynchronousWrites(int timeout) { Review Comment: yes. I don't think you'd ever want to enable that in production (which is what the API should be limited to). -- 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