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?

rdp-api#technologynews
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.

1 Answer

Upvotes
Accepted
56.1k 145 45 65

@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.