protected override Task ExecuteAsync(CancellationToken stoppingToken)
 {
     _chateventHandler.Subscribe(subscriberName: typeof(ChatHistoryConsumer).Name,
                                 action: async(e) =>
     {
         if (e is ChatMessageReceivedEvent)
         {
             await PersistChatMessagesToDBAsync((ChatMessageReceivedEvent)e);
         }
     });
     return(Task.CompletedTask);
 }