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 /
  • EMA /
avatar image
Question by amar.a.panigrahi · Jul 13, 2018 at 11:39 AM · elektronrefinitiv-realtimeelektron-sdktreprrtema-apielektron-message-apisink-driven-source

Getting No data in cache as message/reason when using canned data EMEA with sink_drive_src for EMA runconsumer100 sample program

I am trying to execute the runConsumer100 example from EMA tutorial against the Canned data set of EMEA using the sink_driven_src infra tool. So runConsumer100 is successfully getting connected to localhost and port 14002 with the canned data but I receive below message rather than proper response saying "No data in cache", but the canned data set contains 312799 messages:

WARNING: loggerMsg
    ClientName: ChannelDictionary
    Severity: Warning
    Text:    RDMDictionary stream was closed with status message
        streamId 4
        Reason State: Closed/Suspect/None - text: "No data in cache."
loggerMsgEnd

runConsumer100 is from the eample section of EMA:

https://developers.thomsonreuters.com/elektron/elektron-sdk-java/quick-start?content=43056&type=quick_start

As per the link above, I should receive the field records for refresh and update.

To get the response from canned data, sink_driven_src is used using the bat file which contains below command:

..\win_x86_64\sink_driven_src.exe -S DIRECT_FEED -bdf emeaData.dat -U 1 -N 14002 -K -ik -t 361
pause

People who like this

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Jul 13, 2018 at 12:02 PM

Hi @amar.a.panigrahi

Have you changed the example code to request one of the RICs included in the actual canned data file - as listed in the readme.html file?

The example requests 'IBM.N' by default - but this is not included in the EMEA canned data file.

Regards.

Comment

People who like this

0 Show 4 · 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
amar.a.panigrahi · Jul 13, 2018 at 12:08 PM 0
Share

Hey Thanks Umer for prompt reply. As you said have checked the readMe.html and found the list of RIC. Have then tried with LLOY.L ric by updating it in Consumer class but still it gave the same message.

avatar image
REFINITIV
umer.nalla ♦♦ amar.a.panigrahi · Jul 13, 2018 at 12:15 PM 0
Share

Ok, and have you also changed the EMAConfig.xml to use local data dictionary as described in section 6 of the readme.html.

Looking more closely at your Warning above, it is the Data Dictionary that it cannot get from the the canned data.

Please ensure the EMAConfig.xml is in the working directory to ensure the changes are picked up.

avatar image
amar.a.panigrahi umer.nalla ♦♦ · Jul 13, 2018 at 12:28 PM 0
Share

Hey Thanks, I got the expected response now. I copied it earlier within the series 100 folder, however working folder would be the one from which the program is generally executed and this has clicked in my mind now. So i copied it in EMA/examples folder which is the base for execution using gradle and then it worked. Thanks a lot :)

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

TREP connection count abnormal

How to Post with EMA C++

Error when connecting to TREP​

Invalid Message Syntax on EMA Java Posting Consumer

We are faicng error while using EMA Code : error: type mismatch. Please assist

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges