ahmedabu98 commented on PR #41331:
URL: https://github.com/apache/beam/pull/41331#issuecomment-7119206620

   @ilyasahsan123 have you considered adding a new side output PCollection that 
is dedicated for notable metadata events (e.g. schema change)? I'm wondering if 
that would be a more intuitive shape for sinks to work with. 
   
   The way it's handled now, a Sink would have to inspect each incoming element 
and identify if it is a data record or a metadata event. Nothing in the element 
says which kind it is, so it comes down to checking which keys are present
   
   Also +1 to @tkaymak's suggestion to make this an opt-in feature to avoid 
disrupting existing pipelines


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to