Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • UPA /
avatar image
Question by Mike Slade · Oct 09, 2019 at 09:04 AM · apiupa8.0.0.l1

How can we be sure that a MarketPrice stream is closed?

Hi,

UPA Version: 8.0.0.L1

We have an application using UPA which creates/closes market price streams, and reuses streamIDs. The current logic for closing a stream is as follows:

  1. Send RsslCloseMsg, set flag so we are sent an ACK.
  2. Once ACK is received, add streamID to list to be reused.

We are seeing a few issues with this. If the stream is busy, we can receive some UPDATES after we receive the ACK.
Also, if we 'quickly' reuse the streamID and send an open request after we receive the ACK, we get the following message:

"Request Rejected: Cannot request new item on open stream."


Is it correct to assume that once we receive an ACK from a CloseMsg the streamId can be reused / the previous stream is correctly closed?

We have also tried using rsslIsFinalMsg to check if we have received the final message for the stream, but this always returns false for close message ACKS.


Thanks

People who like this

0 Show 1
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Mike Slade · Oct 09, 2019 at 09:11 AM 0
Share

Just realised this is possibly a duplicate of https://community.developers.refinitiv.com/questions/35892/when-can-i-resubscribe-after-closing-to-a-differen.html. Can someone confirm this?

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by zoya.farberov · Oct 10, 2019 at 06:05 PM

Hello @Mike Slade,

Yes. The issue you are seeing is related to resubscribe, part of the same issue as the resubscribe failure, and was addressed in TREP 3.3.1 infrastructure.

Therefore, it's important to find out what infra you are connecting to. Your market data team/admin will know the version.

If it's below 3.3.1, you will not be able to fully rely on the ack and will have to introduce a wait after close on the app side to be fully sure it is completely closed.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

Crash in rsslFlush function in debugger

I am trying to get D4=INR data and INR=TRB data, how will I get this data? which api should I use to parse this data?

UPA NIProvider application throws java exception

Fragmenting Fields across messages

UPA - loading field dictionary & enumtypes

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges