Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by Joe.Ferraro · Sep 20, 2016 at 01:19 PM · ETAsymbol listrssl_mc_updatersslmap empty

When receiving an RSSL_MC_UPDATE for a symbol list, the RsslMap is empty

When requesting a Symbol List with RSSL_RQMF_STREAMING set in the flags, after the initial REFRESH message, UPDATEs will arrive, generally with some number of symbols that have either been added or removed from the symbol list.

Frequently an UPDATE will arrive where there is nothing in the RsslMap in the UPDATE message.

Dumping out the message looks like this:
RsslMsgBase:
- msgClass: RSSL_MC_UPDATE (4)
- domainType: RSSL_DMT_SYMBOL_LIST (10)
- containerType: RSSL_DT_MAP (137)
encDataBody: - 8 bytes:
00000000 08 10 00 41 47 D0 00 00
encMsgBuffer: - 23 bytes:
00000000 00 0D 04 0A 00 00 0A 0D 10 09 00 00 00 00 00 08
00000010 10 00 41 47 D0 00 00

Should I just ignore this, or have I missed something in the documentation/examples?
Is the empty map a heartbeat?
Or does it indicate something else?

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
REFINITIV
veerapath.rungruengrayubkul ♦♦ · Sep 22, 2016 at 03:24 AM 0
Share

Hi @Joe.Ferraro,

Could you provide the RIC name and service name you are using?

Also, it would be helpful, if you can provide the RSSL tracing in XML format for the update message. You may either enable the XML tracing in your application or use the rsslConsumer example with "-x" option.

XML tracing is configurable through rsslIoctl by using RSSL_TRACE for the RsslIoctlCodes. For more information, please see XML Tracing in ETA Developers Guide document.

3 Replies

  • Sort: 
avatar image
Best Answer
Answer by Joe.Ferraro · Oct 24, 2016 at 01:40 PM

Having just had this occur and matching the timestamp in my trace to find the correct XML file containing the data for the event that had an empty RsslMap, I see the following:

<!-- End Message (Channel IPC descriptor = 19) -->
<!-- Incoming Message (Channel IPC descriptor = 19) -->
<!-- Time: 12:49:11:355 -->
<!-- rwfMajorVer="14" rwfMinorVer="0" -->
<updateMsg domainType="RSSL_DMT_SYMBOL_LIST" 
streamId="100"
containerType="RSSL_DT_MAP"
flags="0x18 (RSSL_UPMF_HAS_MSG_KEY|RSSL_UPMF_HAS_SEQ_NUM)"
updateType="0 (RDM_UPD_EVENT_TYPE_UNSPECIFIED)"
seqNum="0"
dataSize="8"> <key flags="0x7 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE)" serviceId="257" name="XXX_XXX_XX" nameType="1"/> <dataBody> <map flags="0x8 (RSSL_MPF_HAS_TOTAL_COUNT_HINT)" countHint="84299"
keyPrimitiveType="RSSL_DT_BUFFER" containerType="RSSL_DT_NO_DATA" > </map> </dataBody> </updateMsg>
Unlike most of the messages, there are no fieldList nor fieldEntry in the dataBody

Seeing the XML now, I suspect the sole purpose of this message with the empty map is to provide the countHint field.

So, in this case, I'm likely answering my own question: the message, while containing no fields, simply contains a value in RsslMap.totalHintCount.

Therefore, the answer to the above question is most likely "it indicates something else"

Comment

People who like this

0 Show 1 · 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.

avatar image
REFINITIV
veerapath.rungruengrayubkul ♦♦ · Oct 27, 2016 at 03:53 AM 0
Share
@Joe.Ferraro

Your assumption seems make sense. However, the number of countHint is too huge.

Since there is no information about this behavior in documents, the simple way is to ask provider who sent this message for meaning and validation. Is the provider TR's feed?

avatar image
Answer by Joe.Ferraro · Oct 24, 2016 at 11:48 AM

I doesn't happen every time; it's sporadic.

I'm not using A RIC; I don't thinka RIC would generate an RSSL_MC_UPDATE while processing a message callback with domainType: RSSL_DMT_SYMBOL_LIST

I will attempt to gather an XML trace by either modifying my application to generate one, or by using rsslConsumer with a modified symbol list decoder that will print when the condition occurs

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.

avatar image
Answer by Joe.Ferraro · Oct 24, 2016 at 12:55 PM

I have modified my application to create an XML trace as detailed in both the developers guide and the sample code referenced above.

I'm just waiting the receipt of an empty RsslMap in a SymbolList Update message.

I've reproduced the condition once so far, generating 90 16M files of collected data.

What should I do with it?

@sunil.mahale
@Olivier DAVANT
@veerapath.rungruengrayubkul

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

ETA and EMA are TCP based or UDP based libraries?

Migrating from NFD to Elektron Transport API MRN - No news received

ETA Java source code

Is there a way to get a specific field entry from the field list without having to go through the entire fieldList that is received?

How to simulate case for test application under Appendix A (Item and Group State) in Developer Guide

  • 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