question

Upvotes
Accepted
5 0 0 2

Identify RDP news subscription from a client

Hi,

We are developing RDP API based application using Python to collect news stories. We have followed code similar to the one provided at https://developers.refinitiv.com/content/dam/devportal/api-families/refinitiv-data-platform/refinitiv-data-platform-apis/downloads/rdp_python_samples_v2.zip

We can have multiple instances of the application. Each instance of the application will have its own subscription and SQS queue. If we look at the list of active subscriptions (showActiveSubscriptions), we do not see any identification of which subscription belongs to which application instance. Is there a place in API where we can specify an identifier which can then be returned in active subscription list?

#technologyrdp-apinews
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@makarand.vaidya

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@makarand.vaidya

Thanks for reaching out to us.

I checked the document and found that it didn't mention any properties that can be used to identify an application when creating a subscription.

1668060766563.png

Moreover, when getting all active subscriptions, it only returns the following properties.

{
  "subscriptions": [
    {
      "transportInfo": {
        "endpoint": "https://sqs.us-east-1.amazonaws.com/642157181326/sqs-edsalerts-main-prod-usersqs-xxx",
        "transportType": "AWS-SQS",
        "cryptographyKey": "xxx"
      },
      "creationTimestamp": "2022-11-10T06:06:01.944Z",
      "subscriptionID": "xxx"
    }
  ]
}

However, you can contact the Refinitiv Data Platform support team directly via MyRefinitiv to confirm this.

Otherwise, I think you need to implement internal storage to maintain which subscription ID belongs to which application instance.


1668060766563.png (51.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.