Bloomberg APIv3 returning Slow Consumer Warnings!
Posted
by Marcus
on Stack Overflow
See other posts from Stack Overflow
or by Marcus
Published on 2010-04-08T17:33:46Z
Indexed on
2010/04/11
11:13 UTC
Read the original article
Hit count: 391
I made a program in c# based on the example "SubscriptionWithEventHandlerExample" of API 3.2.9.0. After subscribing to about 500 securities for realtime data, I receive some ADMIN event warnings claiming SlowConsumerWarning and SlowConsumerWarningCleared. I read somewhere that it introduces some delay, until I process all events.
The problem is that in my code I only receive callbacks from bloomberg. The event queue isn´t even in my program!
Some things that I tried:
1) raise the queue limit, setting MaxEventQueueSize in the session options (seems to have no effect)
2) see if I get any timeout event (no, I don't get any)
3) create multiple sessions and subscribing 50 securities in each (now I get multiple warnings, one for each thread)
Is there something that I can do or this behavior is out of my scope?
© Stack Overflow or respective owner