Netflix / mantis

A platform that makes it easy for developers to build realtime, cost-effective, operations-focused applications
Apache License 2.0
1.42k stars 202 forks source link

Add a connectToAllJobs option to MantisClient getSinkClient #714

Closed tcai-stripe closed 1 month ago

tcai-stripe commented 2 months ago

Context

Currently JobSource attempts to fetch the scheduling information for the latest target job. This can be painful if a new job is spun up but has not fully Launched. Most of the time we're looking to communicate with latest and only latest but there are cases where ALL would be more useful.

exposes an option to configure whether the MantisClient get the latest SinkClient or all SinkClients.

Checklist

tcai-stripe commented 2 months ago

cc @crioux-stripe

crioux-stripe commented 1 month ago

I think we may want to close this in favor of https://github.com/Netflix/mantis/pull/717 which achieves what we want but in a slightly different fashion.