private ITopicClientWrapper InstantiateTopic(TopicConfiguration config, IVeStatsDClient statsDClient, string topicId) { _creator.SetTopic(config.ConnectionString, config.TopicName, config.Update); var messagingFactory = GetMessagingFactory(config.ConnectionString, config.BatchFlushInterval); var client = messagingFactory.CreateTopicClient(config.TopicName); var topic = new TopicClientWrapper(client, statsDClient); _topics.Add(topicId, topic); return(topic); }