I'm reading some tutorials online that tell us using ActiveJob with Sidekiq. But I don't know why we should do that. I see that Sidekiq has all features that ActiveJob has.
Moreover, on Sidekiq document: here
Warning: by doing job retry through ActiveJob, you lose a lot of Sidekiq functionality:
- Web UI visibility (the Retries tab will be empty)
- You cannot iterate through retries with the Sidekiq::RetrySet API.
- Sidekiq's log will not contain any failures or backtraces.
- Errors will not be reported to Sidekiq's global error handlers
- Many advanced Sidekiq features (e.g. Batches) will not work with AJ retries.
That is a signal somehow make me think that we shouldn't use Sidekiq with ActiveJob. Do I understand wrong about ActiveJob ? Are there any advantages when using ActiveJobs with sidekiq ?
Thanks