Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Abstract functionalities of spout implementations #617
Spouts for SOLR, ES or SQL all have in common that they get URLs from a query, which often will return results already being processed. These spouts keep track of the URLs being processed and in the case of ES, apply a delay after acking to make sure that changes have a chance of being applied to the index before removing the URL from the cache.
This behaviour should go in an abstract class to simplify the code.