Reltio Connect

 View Only
  • 1.  Internal & External Queue API

    Posted 12-06-2021 07:18
    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

  • 2.  RE: Internal & External Queue API

    Reltio Employee
    Posted 12-06-2021 19:37
    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}}{{tenantID}}


    Matthew Gagan

  • 3.  RE: Internal & External Queue API

    Posted 12-06-2021 21:18
    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 -
    1. Internal Queue
    2. External Queue
    3. Fetch queue count and message queue count

    Chetan P