private void XNodeEventService_ConsumerDisconnected(ConsumerDisconnectedArgs obj) { _consumerIOService.WriteDisconnectedConsumerLog(obj.Tenant, obj.Product, obj.Component, obj.Topic, new Consumer() { Id = obj.Id, Name = obj.ConsumerName, Tenant = obj.Tenant, Product = obj.Product, Component = obj.Component, Topic = obj.Topic, CreatedDate = DateTime.Now }); string consumerKey = GenerateConsumerKey(obj.Tenant, obj.Product, obj.Component, obj.Topic, obj.ConsumerName); ReleaseUnacknoledgedMessageTasks(consumerKey); }