question

Upvotes
Accepted
1 1 2 5

I am using java reactor API for consuming data for credit bonds . As reactor api takes care of reconnection , do we need to resubscribe for items (items are subscribed without watch list)when reconnection happens? I

javareactor
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.

1 Answer

· Write an Answer
Upvotes
Accepted
81.1k 264 53 76

@rinki121

If you use a Reactor with the watchlist disabled, the application needs to resubscribe for items when the connection and service are up. You can refer to the com.refinitiv.eta.valueadd.examples.consumer example in the RTSDK Java package.

Otherwise, you can use a Reactor with the watchlist enabled.

The watchlist automatically recovers data streams in response to failure conditions, such as disconnects and unavailable services, so that applications do not need special handling for these conditions. As conditions are resolved, the watchlist will re-request items on the application’s behalf. Applications can also use this method to request data before a connection is fully established

You can refer to the com.refinitiv.eta.valueadd.examples.watchlistconsumer example in the RTSDK Java package.

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.