# How to run event handler outside server-mode?

Note: Running just event-handler is not advisable, use it with caution.

  1. Navigate to the domain module

  2. run command event-handler update <name> <seqNo>

    For example: To run the event-handler till event number 100

    [LotteryDomain] eventHandler update LotteryStream 100
    

Note:

  • ensure the bookmark is set to the appropriate sequence number.
  • use eventHandler --help to know more options.
  • Delete the bookmark collection once this exercise is over to avoid confusions in future.