Skip to main content
Solved

Assignment of job queue for transformations initiated via the REST interface ?


lifalin2016
Contributor
Forum|alt.badge.img+29

Hi.

I'm generally use the workspace repository to assign job queue when scheduling job executions, although I have a couple of special queues to enable high importance jobs to run sooner.

But jobs that are not scheduled by the FME server itself, instead being initiated via the REST interface, all seem to end up using the Default queue.

I've looking into the API example, and it doesn't seem to include a queue name request parameter. And there's no way to create a queue designated for REST initiated jobs.

Is it possible to control the execution queue with REST initiated jobs ?

Using 2020.2.5

Best answer by david_r

I believe you need to set the TMDirectives.tag in the POST, and then configure your FME Server instance to associate the tag with a specific queue.

View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • Best Answer
  • February 2, 2022

I believe you need to set the TMDirectives.tag in the POST, and then configure your FME Server instance to associate the tag with a specific queue.


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • February 2, 2022
david_r wrote:

I believe you need to set the TMDirectives.tag in the POST, and then configure your FME Server instance to associate the tag with a specific queue.

Hi David.

Which immidiatedly leads to the next obvious question: how to configure my FME server to associate the tag with a specific queue ?

I did see the "tag" denominator in the API example, but couldn't see what it was supposed to be used for. The example just uses "linux", which doesn't sound very much like a job queue.


david_r
Celebrity
  • February 2, 2022
lifalin2016 wrote:

Hi David.

Which immidiatedly leads to the next obvious question: how to configure my FME server to associate the tag with a specific queue ?

I did see the "tag" denominator in the API example, but couldn't see what it was supposed to be used for. The example just uses "linux", which doesn't sound very much like a job queue.

Hm, it seems things have changed quite a bit since I had to use this feature. Looking at this post I wonder if the tag is actually the queue name now. Certainly worth a try.


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • March 18, 2022
david_r wrote:

I believe you need to set the TMDirectives.tag in the POST, and then configure your FME Server instance to associate the tag with a specific queue.

Tags are indeed queue names in the REST API.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings