Hi Matt,
Thank you very much for the response.
I will elaborate the use case, actually your detailed reply in trailing email sort of answered a part of it.
Summary - I have two jobs to run which are dependent on each other.
Job 1 - Data Loader (Loading Entity data)
Job 2 - Relationship (Loading relationship data)
Run a Data Loader job for about 1000 records (after sometime) -> The job gets over
But it is taking few seconds depending on the data for the queue count to get to 0.
Currently i am accessing to Queues through below method -
(Reltio Console -> Tenant Management -> Queues)
So i was looking for a API to get the Queue status and Queue count.
I also tried the API you mentioned in trailing email and here is the response.
{
"Status": "Green",
"IsExternalQueue": true,
"Events queue size": 0,
"Matching queue size": 0
}
I see IsExternalQueue here, is it also applicable to fetch Internal queues as well..
Queues counts i am trying to capture is -
- Internal Queue
- External Queue
- Fetch queue count and message queue count
------------------------------
Chetan P
Freshworks
------------------------------
Original Message:
Sent: 12-06-2021 19:36
From: Matthew Gagan
Subject: Internal & External Queue API
Hi Chetan,
Please can you provide some more context? What kind of queues are these? When you say console, is that Reltio Console, or a CLI console? Fetch queue count, or fetch message count for a queue? Internal or external queue?
Trying to guess your needs, there is an API call to GET tenant status, which will include CRUD and Match queue message count (like you see in Reltio Console Tenant Management). That API looks like the following:
GET https://{{environment}}.reltio.com/reltio/status/tenant/{{tenantID}}
Regards,
Matt
------------------------------
Matthew Gagan
Original Message:
Sent: 12-06-2021 07:18
From: Chetan P
Subject: Internal & External Queue API
Hi All,
Hope all is good !!
Was trying to fetch Queue count using an API call to proceed with the next steps in the script.
I could view it in console, but no idea to take it in API.
Could anyone please help me in getting through this.
------------------------------
Chetan P
Freshworks
------------------------------