Zahir Alward
03/23/2025, 8:08 AMEdgar Ramírez (Arch.dev)
03/24/2025, 7:18 PMSink classes have a finalize method.
From the docs, I understand finalize should be called by the Target class after all records are processed, but it’s not happening. Has anyone run into this? Could it be related to:I'm curious where in the docs you're seeing this. If you're buffering the records, you probably need to subclass
BatchSink instead and implement process_batch.Zahir Alward
03/28/2025, 11:38 PMRecordSink class with a source of indefinite length, the sink won't commit changes to the destination. I might be implementing it in a non-standard way. I worked around this by using BatchSink instead. Is RecordSink the right approach for handling indefinite streams?Edgar Ramírez (Arch.dev)
03/31/2025, 6:10 PMIsIt could be, but you might need to implementthe right approach for handling indefinite streams?RecordSink
start_drain. I honestly haven't seen a solid use case for RecordSink as far as I recall.