question

Upvotes
Accepted
3 3 3 1

Lost the MARKET PRICE capabilities on active session

Hi,


My ETA based Elektron adapter lost the MARKET PRICE (6) capability when there was some active subscription and getting data at the same time. I faced this issue when trying to subscribe for new ID and while checking "hasCapabilities" it found that MARKET PRICE capability was not available.


What is the reason for this to happen?

Is there any notification sent over API that we can capture to know this has happened?


Thanks,

Satish


elektronrefinitiv-realtimeelektron-sdkrrteta-apielektron-transport-apimarket-by-price
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.

Hello @Satish.Pawar,

As this is quite unusual not to lose the service as going down, but to lose some capabilities, let me confirm, how do you know you lost the capability? Have you subscribed to service directory and received an update with no MarketPrice capability listed for your service?

Usually you would subscribe to service directory, and capture a state change this way, although am not sure, if I am answering the question that you are asking?

Upvotes
Accepted
32.2k 40 11 19

Hello @Satish.Pawar,

Thanks for the output.

From this output, it looks like there might have been a small issue, at that specific time, on that specific instrument, that was reported in these messages.

In my understanding:

"Record dropped" status appears to indicate an issue that was specific to the record, not relevant for the service or a group.

And the fact that you have established stream and got updates on the same item after, indicates that the suspected issue was very brief in time.

Examples send a streaming source directory request, so this is probably what you have also implemented, and if a service state changes, major issue, you should have an update on the service to notify you.

I would expect this type of glitch to be very, very rare, but if you like to provision for it by waiting and retrying the subscription, till successful, that may be a solid coding approach.

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.

Upvotes
3 3 3 1

Hi Zoya,


Our process is running 24/7 and restarts one a week (Saturday - 9am) and at startup we request for source directory & field dictionary messages.


Before sending new subscription we are checking whether connection has MARKET PRICE capabilities and if it has it then only subscription are sent over connection.


I see that this connection is active and we have subscribed over this connection and getting data for those. But, when we tried to subscribe with new ID (912828X88=TWEB) on 8/4 for MARKET PRICE (domainType = 6) when checking hasCapabilities() it failed with capability not found, so this subscription didnt sent over channel. But, at the same time we are getting data for earlier subscribed IDs.


I see below 2 messages on 8/3 but getting updates after that so i believe connection was ok.

08-03 06:33:27.269 - State: Closed/Suspect/None - text: "EaaS*hash2Astatus-Record dropped from network"

08-03 06:33:27.277 - State: Closed/Suspect/None - text: "EaaS*hash2Astatus-Record dropped from network"


I dont see any service directory update messages after startup, so not sure what happened to loose capability on active session. So, I am not sure whether above 2 messages caused this issue and whether we should have dropped connection and reconnect on receiving these errors.


Let us know.


Thanks,

Satish


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.

Upvotes
3 3 3 1

Hi @zoya.farberov,


My application was retrying for subscription but as Market Price service was not available (capability removed), none of subsequent subscriptions were going thru. I had to restart process to re-instantiate.


I log every Directory update coming in so didnt see any directory update which would invoke Market Price capabilities messages.


For meantime I have implemented JMX support to re-establish connection and subscription after that. So in case we observe same problem then we dont need to restart process (so process state will be maintain) and try to recover. As you mention this is very rare scenario and we havent seen that after that instance, I will consider this issue as one of for now and will wait for any future occurrences and will see if we can get more data/logs from that incident.


Thank you for your analysis on this issue.


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.