-2

Does Esper support exception handling for restarts?

I want this exception handling

I'm sorry. My English is not good. so I added picture.

Description Picture

Gus
  • 3,534
  • 1
  • 30
  • 39
  • 1
    Please provide more details. – Miss Chanandler Bong Jul 01 '19 at 08:38
  • The correct way to restart a service: 1., Reject the new requests (close the input and inform the clients about it by exceptions) 2., Process the pending data in the queue 3., Restart your service – The Bitman Jul 01 '19 at 09:26
  • Data goes away when stop a service. Then The average value will wrong If put the bakup data(average) after start a service. In picture. I should get 5, but I get 6 because esper don't use backuped count when calculate average. correct: ( 4 * (backup count 3) ) + 8 / ( (backup count 3) + 1 ) but incorrect: (4 + 8) / 2 – Jinhee Lee Jul 02 '19 at 01:02

1 Answers1

0

Esper is in-memory only and does not have persistence. For persistence you need EsperHA that handles the save-restore.

user650839
  • 2,594
  • 1
  • 13
  • 9
  • If I make EsperHA that handles the save-restore. can I get the correctly average? How can I make that? I'm sorry. I don't know that how to make... – Jinhee Lee Jul 02 '19 at 00:36