Hello! It is not recommended to have long-lived data streamers, it's best to acquire it when it is needed.
If you have to keep data streamer around, don't forget to flush() it. This way you don't have to worry about its queue. Regards, -- Ilya Kasnacheev пн, 3 февр. 2020 г. в 13:24, narges saleh <snarges...@gmail.com>: > Hi, > My specific question/concern is with regard to the state of the streamer > when it run as a service, i.e. when it crashes and it gets redeployed. > Specifically, what happens to the data? > I have a similar question with regard to the state of a continuous query > when it is deployed as a service, what happens to the data in the > listener's queue? > > thanks. > > On Sun, Feb 2, 2020 at 4:18 PM Mikael <mikael-arons...@telia.com> wrote: > >> Hi! >> >> Not as far as I know, I have a number of services using streamers >> without any problems, do you have any specific problem with it ? >> >> Mikael >> >> >> Den 2020-02-02 kl. 22:33, skrev narges saleh: >> > Hi All, >> > >> > Is there a problem with running the datastreamer as a service, being >> > instantiated in init method? Or loading the data via JDBC connection >> > with streaming mode enabled? >> > In either case, the deployment is affinity based. >> > >> > thanks. >> >