Results 1 to 4 of 4
  1. #1

    snapshot retrieval

    Hi

    Is there a way to re-initiate the snapshot call.

    My clients need some provision to get the latest data through snapshot retrieval, there are scenarios where are hot updates are down. so we require some workaround to pull the latest data via snapshot call.

    Thanks
    rajesh

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    503
    Hi rajesh,

    Your scenario is not entirely clear to me, a client with an active subscription for an Item should be perfectly up-to-date with the latest information, and any forcing of snapshot should not add anything new.

    In any case the client could: close and reopen the subscription, or leave the old subscription open, execute a new subscription request with the same parameters, receive the snapshot and soon after the EOS close it.

    Regards,
    Giuseppe

  3. #3
    Hi Guiseppe,

    Sorry for the delayed reply.

    My scenario is if dynamic updates are down , i want my clients to force the server to initiate a backend call to get live data feed.


    Can you please help me understand your below lines, if the client execute new subscription how server can react to it. The client A is subscribed , the new subscription by client B never reaches data adapter - onSubscription method. how can we provide EOS ?

    In any case the client could: close and reopen the subscription, or leave the old subscription open, execute a new subscription request with the same parameters, receive the snapshot and soon after the EOS close it.

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    503
    Hi Rajesh,

    Sorry, I did not understand your case.
    In my answers I assumed that for the client was enough to receive the snapshot maintained by the Lightstreamer server without need to involve the adapters and the back-end.

    But, actually, it is not entirely clear to me why should be the client to notice the problem with the real-time feed and not the data adapter itself, which could take immediate measures.
    In any case the proper way for a client to comunicate with the Adapters is the sendMessage that will be received by your Metadata Adapter.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Subscribe again in data retrieval
    By rajesh.palanisamy in forum Adapter APIs
    Replies: 1
    Last Post: June 11th, 2018, 09:52 AM
  2. Snapshot retrieval - Data Source Failure recovery
    By rajesh.palanisamy in forum Adapter APIs
    Replies: 1
    Last Post: April 30th, 2018, 10:15 AM
  3. Replies: 1
    Last Post: April 17th, 2015, 10:59 AM
  4. Replies: 7
    Last Post: June 7th, 2010, 10:38 AM
  5. Pre-Processor Snapshot vs DataAdapter Snapshot
    By sukhdev in forum Adapter APIs
    Replies: 3
    Last Post: August 1st, 2007, 09:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:20 AM.