Per a conversation with @vhf, event log readers that rely on new_events = select * from events where id > $last_event_id can miss events if the following scenario obtains:
So after some further thought, maybe logical replication is the answer here. It would certainly solve the issue of missing inserts. Need to do some testing.
Per a conversation with @vhf, event log readers that rely on
new_events = select * from events where id > $last_event_id
can miss events if the following scenario obtains:https://gist.github.com/vhf/d11f24f8ab3bb46e35dc9ccef6784eee
Will followup with additional discussion.