Archived

This forum has been archived. Please start a new discussion on GitHub.

Losing Subscription to IceStorm topic

Hi there,

We are having an issue with IceStorm subscriptions dissapearing.
For some topics, we have no problems, for others, we receive about 10 events and then we stop receiving any new events.

We have tried spawning off a thread to deal with the callback for the offending topic, however this did not solve the problem.

Any ideas what could be causing this?

Thanks in advance,
Patrick

Comments

  • matthew
    matthew NL, Canada
    IceStorm will disconnect a subscriber upon any error. The most likely scenario is a network issue. If you expect network problems, then you should add some mechanism to deal with this (such as a regular heartbeat which your subscriber uses for error detection purposes). If it is unexpected, then you can get more information by enabling subscriber tracing (IceStorm.Trace.Subscriber=1).

    Starting with Ice 3.3 you can enable retries for subscribers to avoid this.