dawidwys closed pull request #7413: [FLINK-11265][docs] AvroSinkWriter → AvroKeyValueSinkWriter URL: https://github.com/apache/flink/pull/7413
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/flink-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/AvroKeyValueSinkWriter.java b/flink-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/AvroKeyValueSinkWriter.java index 0f73e8c5c0b..3294b55a0e0 100644 --- a/flink-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/AvroKeyValueSinkWriter.java +++ b/flink-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/AvroKeyValueSinkWriter.java @@ -59,7 +59,7 @@ properties.put(AvroKeyValueSinkWriter.CONF_COMPRESS, Boolean.toString(true)); properties.put(AvroKeyValueSinkWriter.CONF_COMPRESS_CODEC, DataFileConstants.SNAPPY_CODEC); - sink.setWriter(new AvroSinkWriter<Long, Long>(properties)); + sink.setWriter(new AvroKeyValueSinkWriter<Long, Long>(properties)); sink.setBatchSize(1024 * 1024 * 64); // this is 64 MB, } </pre> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services