Adam Miller d5ec767bff fix: make AMQPUrlReceiver resilient to dropped connections
Disable the client's automatic recovery and leave StarterRestarter as the
sole owner of the consumer lifecycle, so only one mechanism re-registers a
consumer after a failure.

Abort dead connections and channels before replacing them, so they cannot
go on consuming once the bean has stopped referencing them.

Catch everything in handleDelivery, including the json parsing and the ack,
so one bad message or one dead channel cannot close the channel out from
under every other consumer on it.

Hold consumerTag in an AtomicReference and clear it with compareAndSet, so a
late shutdown signal cannot clear a newer consumer's tag. A lock would risk
deadlocking against stop().
2026-10-06 14:43:12 -07:00
2026-08-18 16:11:35 +09:00
2026-10-06 12:24:16 +09:00
…
2026-05-18 13:22:33 -04:00

Heritrix

Maven Central Version Docker Javadoc LICENSE

Introduction

Heritrix is the Internet Archive's open-source, extensible, web-scale, archival-quality web crawler project. Heritrix (sometimes spelled heretrix, or misspelled or missaid as heratrix/heritix/heretix/heratix) is an archaic word for heiress (woman who inherits). Since our crawler seeks to collect and preserve the digital artifacts of our culture for the benefit of future researchers and generations, this name seemed apt.

Crawl Operators!

Heritrix is designed to respect the robots.txt exclusion directives and META nofollow tags. Please consider the load your crawl will place on seed sites and set politeness policies accordingly. Also, always identify your crawl with contact information in the User-Agent so sites that may be adversely affected by your crawl can contact you or adapt their server behavior accordingly.

Documentation

Developer Documentation

Latest Releases

Information about releases can be found here.

License

Heritrix is free software; you can redistribute it and/or modify it under the terms of the Apache License, Version 2.0

Some individual source code files are subject to or offered under other licenses. See the included LICENSE.txt file for more information.

Heritrix is distributed with the libraries it depends upon. The libraries can be found under the lib directory in the release distribution, and are used under the terms of their respective licenses, which are included alongside the libraries in the lib directory.

Languages
Java 93.7%
HTML 2.4%
Rich Text Format 1%
JavaScript 0.9%
FreeMarker 0.8%
Other 1%