incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Tue, 19 Oct 2010 07:36:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: How to Write an Output Connector (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector)
Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector?focusedCommentId=24183450#comment-24183450

Comment added by Karl Wright:
---------------------------------------------------------------------

Yes, that's because it is an incremental crawler.  You can make it resend everything
to your output connection by clicking the link in the output connection's view screen titled
something like "recrawl everything for this connection" or some such.\\

In reply to a comment by Farzad:
You were right.  My dataManager was not initialized, so it was throwing NullPointer exceptions.
 After that I had a primary key violation, and I liked how the UI reported that back.  Finally,
I was using a counter for the primary key and needed to make it static because of the multiple
instances of the connector, so that it incremented correctly.

One interesting thing I learnt was that MCF doesn't reprocess the same item twice. I had a
failed job that processed two item before stopping.  Those two items were not sent again to
newer jobs for the same file system path.  Only after I deleted the jobs, and created a new
one that they were sent again.

Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action

Mime
View raw message