We have a requirement where an old system (lets say it A) is using java.lang.Long Ids but the other service (lets say it B) has moved from Sybase to MongoDB. The producer system