infoverload commented on code in PR #517:
URL: https://github.com/apache/flink-web/pull/517#discussion_r861298315


##########
_posts/2022-03-16-async-sink-base.md:
##########
@@ -0,0 +1,160 @@
+---
+layout: post
+title: "The Generic Asynchronous Base Sink"
+date: 2022-04-05 16:00:00
+authors:
+- CrynetLogistics:
+  name: "Zichen Liu"
+excerpt: An overview of the new AsyncBaseSink and how to use it for building 
your own concrete sink
+---
+
+Flink sinks share a lot of similar behavior. All sinks batch records according 
to user defined buffering hints, sign requests, write them to the destination, 
retry unsuccessful or throttled requests, and participate in checkpointing.
+
+This is why for [Flink 
1.15](https://cwiki.apache.org/confluence/display/FLINK/FLIP-171%3A+Async+Sink) 
we have decided to create the `AsyncSinkBase`, an abstract sink with a number 
of common functionalities extracted. Adding support for a new destination now 
only requires a lightweight shim that implements the specific interfaces of the 
destination using a client that supports async requests. 

Review Comment:
   ```suggestion
   This is why for [Flink 
1.15](https://cwiki.apache.org/confluence/display/FLINK/FLIP-171%3A+Async+Sink) 
we have decided to create the `AsyncSinkBase`, an abstract sink with a number 
of common functionalities extracted. 
   This is a base implementation for Async sinks, which you should use whenever 
you need to implement a sink that doesn't offer transactional capabilities 
(like most databases). Adding support for a new destination now only requires a 
lightweight shim that implements the specific interfaces of the destination 
using a client that supports async requests. 
   ```



-- 
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

Reply via email to