1. A method for processing one or more logs by a plurality of recovery consumers comprising: registering a callback by a first recovery consumer of the plurality of recovery consumers; registering a dependency on the first recovery consumer by a second recovery consumer; determining, by the callback, whether to tag a first log of the one or more logs; and in response to determining to tag the first log, executing the second recovery consumer such that the first recovery consumer waits for the second recovery consumer to complete processing of the first log.