Using Tags with Sidekiq Jobs

40 · Mike Perham · June 23, 2021, 11:01 p.m.
A customer recently opened issue to point out a bug in Sidekiq’s tag filtering support and I realized: I haven’t told people that tags exist. Oops. Here is your notification. 😁 Sidekiq 6.0.1 added support for per-job tags. Tags are an Array of Strings within the job payload. Maybe you want to tag the sports related to a given job: class SomeWorker include Sidekiq::Worker sidekiq_options tags: ['alpha'] There’s plenty of ideas for job tagging:...