My requirement is to send the data to a different ES sink (based on the data). Ex: If the data contains a particular info send it to sink1 else send it to sink2 etc(basically send it dynamically to any one sink based on the data). I also want to set parallelism separately for ES sink1, ES sink2, Es sink3 etc.
Is there any simple way to achieve the above in flink ? My solution: (but not satisfied with it) I could come up with a solution but there are intermediate kafka topics which i write to (topic1,topic2,topic3) and then have separate pipelines for Essink1,Essink2 and ESsink3. I want to avoid writing to these intermediate kafka topics.
Regards, Vignesh |
Are the number of sinks fixed? If so,
then you can just take the output of your map function and apply
multiple filters, writing the output of each filter into a sync.
You could also use a process function with side-outputs, and apply
a source to each output.
On 10/14/2020 6:05 PM, Vignesh Ramesh
wrote:
|
Free forum by Nabble | Edit this page |