I have previously used COMMAND mode and I have created separate remote adapter for individual clients. For example in this above data structure there having 2 clients lmxtrade and kkvtrade. For each clients I have created individual adapter and run the adapter in separate port numbers.

Now I have planned to run in single adapter to subscribe multiple client account. For example I have 2 domains to show their commodity trading data. But this both LS client request to get data from single LS server. In this case how I need to bind the data to serve respected clients.
And I need to know how the client name send to LS server from LS client. Whether via request header or any other method is there.
And also I need to know whether I have to change the data structure in LS server like
{"vb":[{"com_id":"41","com_name":"GOLD - SALEM","selling_rate":"4977.00","buying_rate":"-","delivery":"25-06-2020","retail_rate":"-"},{"com_id":"38","com_name":"SILVER - SALEM","selling_rate":"49880.00","buying_rate":"-","delivery":"25-06-2020","retail_rate":"-"}],"akumar":[{"com_id":"33","com_name":"GSUT999KG1","selling_ra te":"48147","buying_rate":"48311","delivery":"25-06-2020","retail_rate":"-"}],"kb":[{"com_id":"19","com_name":"ONLINE GOLD BAR","selling_rate":"4967.00","buying_rate":"-","delivery":"26-06-2020","retail_rate":"-"}]}
I feel this above data structure is difficult to do ADD, DELETE and UPDATE in COMMAND mode. So only I have changed the structure as like below structure
[{"com_id":"33","com_name":"GOLD BAR","selling_rate":"4952","buying_rate":"-","delivery":"30-06-2020","retail_rate":"-","client":"lmxtrade","client_com_id":"lmxtrade_33 "},{"com_id":"36","com_name":"GOLD FT","selling_rate":"4952","buying_rate":"4751"," de livery":"30-06-2020","retail_rate":"-","client":"lmxtrade","client_com_id":"lmxtrad e_36 "},{\"com_id\":\"36\",\"com_name\":\"GOLD FT\",\"selling_rate\":\"4943\",\"buying_rate\":\" 4 841\",\"delivery\":\"30-06-2020\",\"retail_rate\":\"-\",\"client\":\"kkvtrade\",\"client_com_id\":\" kkv trade_36\"},{\"com_id\":\"38\",\"com_name\":\"SILV ER\",\"selling_rate\":\"48455\",\"buying_rate\":\ " 48428\",\"delivery\":\"30-06-2020\",\"retail_rate\":\"-\",\"client\":\"kkvtrade\",\"client_com_id\":\" kkv trade_38\"}]
In this above structure client_com_id will be unique. I have to subscribe by using "client" column.