Description
The docs say you can use a dictionary to pass the replay
param of the client.
replay (Union[ReplayOption, ReplayMarkerStorage, Mutablemapping[str, ReplayMarker]]) – A ReplayOption or an object capable of storing replay ids if you want to take advantage of Salesforce’s replay extension. You can use one of the ReplayOptions, or an object that supports the MutableMapping protocol like dict, defaultdict, Shelf etc. or a custom ReplayMarkerStorage implementation.
I'm not exactly clear on what this dictionary needs to contain though. I see it needs a string and a ReplayMarker
so I tried this
replay={"replay": ReplayMarker("2021-01-27T18:33:19.087Z", 272625)}
But I don't seem to pull in any previous events. These are hardcoded for now for testing purposes, I'll dynamically retrieve them from the last successful event once I get this working.