azure-event-hubs-go/persist
Richard Park 2b1e9f8aee Fixing a bug where the readme snippet doesn't work - the main issue is that the memory persister was returnning an error when the checkpoint didn't exist. The other stores all treat this as a "go ahead and initialize a new checkpoint" so this is only an issue with the memory persister.
I've added some tests in to get better confidence around it (and to document what filters you do end up with). For the most part we can fall back to just using the same non-inclusive filter for everything offset based since offsets can't be negative

Also, the tf file doesn't work with the latest terraforms so I've adjusted it like the service bus one.
2021-07-13 19:07:35 -07:00
..
checkpoint.go move everything over to tab for tracing abstraction 2019-06-06 08:50:58 -07:00
file.go Added error return to file persister 2019-07-25 20:12:40 +02:00
file_test.go Fix tests for file.go 2019-08-09 14:22:32 +08:00
persist.go Fixing a bug where the readme snippet doesn't work - the main issue is that the memory persister was returnning an error when the checkpoint didn't exist. The other stores all treat this as a "go ahead and initialize a new checkpoint" so this is only an issue with the memory persister. 2021-07-13 19:07:35 -07:00
persist_test.go Fixing a bug where the readme snippet doesn't work - the main issue is that the memory persister was returnning an error when the checkpoint didn't exist. The other stores all treat this as a "go ahead and initialize a new checkpoint" so this is only an issue with the memory persister. 2021-07-13 19:07:35 -07:00