Hi, Is it possible to access the data in a stream that was written to a sink? I have a Cassandra Sink in my stream job and I have to access all the records that were written to the Cassandra sink and write it to another sink. Is there any way
to do that? Regards, Teena |
Adding to the previous question, is it possible to check if each record in a stream was written without any exceptions to a Cassandra Sink? I have to write the records to the next sink only if the first write is successful. So, replicating
the streams before the write is not an option. From: Teena Kappen // BPRISE <[hidden email]>
Hi, Is it possible to access the data in a stream that was written to a sink? I have a Cassandra Sink in my stream job and I have to access all the records that were written to the Cassandra sink and write it to another sink. Is there any way
to do that? Regards, Teena |
Hi Teena, It seems that a sink can not output data into another sink. Maybe we can implement a combined user defined sink. In the combined sink, only write to the next sink if the first write is successful. On Tue, Jul 10, 2018 at 3:23 PM, Teena Kappen // BPRISE <[hidden email]> wrote:
|
Yes.. a custom sink with the required checks seems to be the only option. From: Hequn Cheng <[hidden email]>
Hi Teena, It seems that a sink can not output data into another sink. Maybe we can implement a combined user defined sink. In the combined sink, only write to the next sink if the first write is successful. On Tue, Jul 10, 2018 at 3:23 PM, Teena Kappen // BPRISE <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |