I cannot find the information I need about this. What i am trying: Add some records to Account object with Batch and checking errors if Platoform Event. So if records added i want to write in platform event "Succesfull" and vice versa. I just want to know how to do it. Some guides would be perfect.
UPD: Or i must just use batch as always and catch error with try-catch and then write to event?