Hi,
I've been reading through your code to see how it works. I did spot an issue with the reliability of the process and wanted to highlight this.
In https://github.com/DataIntellectTech/kdb-chronicle-queue/blob/main/Adapter/src/main/java/uk/co/aquaq/kdb/adapter/chronicle/ChronicleToKdbAdapter.java#L215 it does the following:
- read messages from chronicle queue and accumulate in kdb envelope
- try send to KDB
- if this fails now reset the queue state back to where it was before we were reading
- if application crashes between 2 and 3 you now have a gap in the messages and no way of detecting that gap
Best,
Jark