Refinitiv / Real-Time-SDK

Other
180 stars 128 forks source link

How do you configure authentication (v1) per Channel within a single OmmConsumer #268

Closed paulkmoore closed 1 month ago

paulkmoore commented 5 months ago

I'm trying to use the WarmStandby configuration (see example ex470) but have been advised by Refinitiv that this requires a v2 account (which isn't available "yet" for our particular subscription type). They have suggested using two v1 accounts (one per channel) as a workaround.

However, I'm struggling to see how the credentials can be set per channel. In the source (see esp com.refinitiv.ema.access.OmmConsumerConfigImpl) the authentication details are treated as global (within the context of a consumer).

Is there anyway to configure the credentials per (warmstandby) channel within a single consumer?

If not, is my only option to implement multiple consumers (with separate auth) and handle the failover etc myself?

vlevendel commented 2 months ago

@paulkmoore Apologies for the delay in reply. I am working with RTO support to answer this question. Since opening this issue, do you now have V2 creds? How many warm standby channels are you using in configuration? Can I assume you are connecting to different regions with each standby?

vlevendel commented 1 month ago

@paulkmoore You may use the same V1 credentials for multiple connections with WarmStandby. Please re-open if you have further concerns.