TrackingToken without a Long number

HI.

Is it possible to create a TrackingToken without relying on a Long number for the position?

Let’s say I want to use a database that does not have an auto-increment built-in and is very expensive to keep a DB wide sequence.

Would it be possible to build TrackingToken with custom logic to track the position without having to create a sequential number?

Thank you in advance.

Yes, both in the Mongo and Kafka extension we have specific tracking tokens, since they don’t work with a (single) increment.

You are correct sir.
I was only looking at the Jpa implementation.

The mongo extension seems very close to what I need.

Keep up the good work.

2 Likes