-
December 2nd, 2019, 07:10 AM
#1
Creating Many Data Adapters for on Meta Data Adapter
Hi,
I have a plan to build a general adapter for my project, the idea is to build a single adapter which can respond with the data based on the customer requirements.
i.e.
- if the client wish to subscribe with MERGE, it will get the data of the MERGE subscription.
- if the client wish to subscribe with COMMAND, it will get the data of the COMMAND subscription.
Is that possible with light streamer or not? if yes, Is it recommended or not?
Regards
Last edited by ManKeer; December 2nd, 2019 at 07:13 AM.
-
December 2nd, 2019, 01:55 PM
#2
Hi ManKeer,
since the responsibility to control and force the subscription modes for each Item is attributed to the Metadata what you want to do is not possible. You should switch from a model with 1 Metadata and n Data adapters to a model with n Metadata and n Data adapters. But I am aware that it might be too complicated.
What we recommend is to have different Items for different subscription modes so that they can be managed by the same Metadata. Then it is your free choice whether to supply only one Data adapter or more than one each for each type of Items.
Regards,
Giuseppe
Similar Threads
-
By hpang in forum Client SDKs
Replies: 3
Last Post: September 19th, 2017, 07:14 PM
-
By rvkvino in forum General
Replies: 1
Last Post: February 14th, 2017, 09:22 AM
-
By anilkumar2508 in forum Adapter SDKs
Replies: 1
Last Post: October 19th, 2012, 09:03 AM
-
By paul.syson@internova.co.u in forum Adapter SDKs
Replies: 6
Last Post: March 24th, 2009, 09:13 AM
-
By rekhender in forum Adapter SDKs
Replies: 5
Last Post: July 23rd, 2008, 09:34 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:26 AM.
Bookmarks