示例#1
0
        private async Task SubscribeAsync()
        {
            _logger.LogInformation("Subscribing topics {@Topics}", _topicsConfig);
            await _client.SubscribeAsync(_topicsConfig);

            _logger.LogInformation("Subscribed succesfully");
        }