Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to a keyed, compacted crawl configurations topic #4

Open
anjackson opened this issue Sep 29, 2021 · 0 comments
Open

Switch to a keyed, compacted crawl configurations topic #4

anjackson opened this issue Sep 29, 2021 · 0 comments

Comments

@anjackson
Copy link
Contributor

To avoid issues like ukwa/ukwa-heritrix#76, we could:

  • When storing in Kafka, key the launch requests by distinct seed/host configuration.
  • Switch to compacted Kafka so only the latest crawl spec. is kept per unique site key.
  • Ensure Heritrix always reads the whole Kafka topic, thus reconstructing the up-to-date configuration.#

Cleanest option would be to gather seeds together and assemble an overall launch spec per host, then change how Heritrix processes that to set up the queue config and then enqueue all the seeds with their launchTimestamp used to reflect the most recent launches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant