Realm.Sync.Adapter vs Realm.Sync.addListener?


We are working on a nodejs service that will update our MySQL database in response to ROS changes. There seem to be two approaches, (a) using Realm.Sync.addListener we could receive all change notifications and handle them by performing SQL queries against MySQL. (b) Realm.Sync.Adapter can provide transactions to perform the same function.

Is one method preferable when building a RDBMS sync backend service?