private IAsyncCollector <MqttMessage> BuildCollectorFromAttribute(MqttAttribute attribute) { var topicName = attribute.TopicName; var client = _messagingProvider.GetMessageClient(topicName); return(new MqttMessageAsyncCollector(client)); }