protected override void OnStart(string[] args) { Task.Factory.StartNew(() => { consumer = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueHistoryToSolr); consumer.StartConsume(); }); }
public void ConsumerHistoryProductToSolrTest3() { var consumer = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueVisitedLinkFindNewToCassandra); consumer.StartConsume(); }
public void ConsumerHistoryProductToSolrTest() { ConsumerHistoryProductToSolr c = new ConsumerHistoryProductToSolr(ConfigCrawler.QueueHistoryToSolr); c.StartConsume(); }