jonhoo / faktory-rs

Rust bindings for Faktory clients and workers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide ergonomic access to Pro features

jonhoo opened this issue · comments

Faktory now has a Pro edition, and that comes with (at the time of writing) two new API-facing features. Specifically, it adds unique jobs and expiring jobs. It'd be good to have a convenient interface to these without having to set fields in job.custom manually in the right format. These additional convenient methods should probably be under a non-default feature called "pro" so that non-pro users don't see methods they can't use.

The Faktory Pro OSX binary available with each release can be used to test it live if necessary (or at least prove it works once manually).

@mperham In line with contribsys/faktory#180 I would love if the official client libraries did this in their CIs so other clients could copy their approach

Unfortunately I can't provide the Linux binary necessary for most CI environments.

@mperham that's fine -- a macOS-only CI test would be fine. Anything automated helps!

commented

@jonhoo are you actively working on this? I wanted to check before I start devoting some cycles to it. Expiring and unique jobs are relatively easy to get going I think.

I'm passively maintaining the project, but not actively working on this feature in particular, no. So please do feel free. I'm also looking for maintainers if anyone using Faktory on a regular basis is looking to step up to the plate :)

The JobBuilder PR followed by expiring and unique jobs PR will be the first steps in enabling ergonomic access to Enterprise Faktory features.

API for batch and trackable jobs will be added next.