[
https://issues.apache.org/jira/browse/NUTCH-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404613#comment-15404613
]
Sujen Shah commented on NUTCH-2132:
-----------------------------------
Updated PR and cleaned the commit log.
One issue I have not been able to tackle yet is adding dependencies in the
plugin. When I add the amqp-client library as a dependency in the main ivy.xml
it works fine, but as I remove it from there it put it in the plugin specific
ivy.xml it does not work. It is not able to find the jar in classpath during
runtime and throws a NoClassDefFound error. Though there exists a amqp-client
jar in runtime/local/plugin/publish-rabbitmq directory.
Any suggestions how to resolve this ?
> Publisher/Subscriber model for Nutch to emit events
> ----------------------------------------------------
>
> Key: NUTCH-2132
> URL: https://issues.apache.org/jira/browse/NUTCH-2132
> Project: Nutch
> Issue Type: New Feature
> Components: fetcher, REST_api
> Reporter: Sujen Shah
> Assignee: Chris A. Mattmann
> Labels: memex
> Fix For: 1.13
>
> Attachments: NUTCH-2132.patch, NUTCH-2132.v2.patch,
> PubSub_routingkey.patch
>
>
> It would be nice to have a Pub/Sub model in Nutch to emit certain events (ex-
> Fetcher events like fetch-start, fetch-end, a fetch report which may contain
> data like outlinks of the current fetched url, score, etc).
> A consumer of this functionality could use this data to generate real time
> visualization and generate statics of the crawl without having to wait for
> the fetch round to finish.
> The REST API could contain an endpoint which would respond with a url to
> which a client could subscribe to get the fetcher events.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)