[ 
https://issues.apache.org/jira/browse/CONNECTORS-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904622#action_12904622
 ] 

Karl Wright commented on CONNECTORS-41:
---------------------------------------

I think we're discussing two entirely distinct features here.

Feature 1: Let the output connector know that a job is finished, so that it can 
flush whatever internal buffering etc. it has been doing (e.g. tell solr to 
commit).
Feature 2: Provide some general way of monitoring the progress of jobs etc.

Feature 2 is already met by the API, in my opinion.  It's a polling-style 
fulfillment of the requirement, but it does exist.  There doesn't seem to me to 
yet be a requirement that a notification-style API be provided also, despite 
the stated use case.
Feature 1 is what I consider to be the use case for this current ticket.


> Add hooks to output connectors for receiving event notifications, 
> specifically job start, job end, etc.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-41
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-41
>             Project: Apache Connectors Framework
>          Issue Type: Improvement
>          Components: Framework core
>            Reporter: Karl Wright
>            Priority: Minor
>
> Currently there is no logic that informs an output connection of a job start, 
> end, deletion, or other activity.  While this would seem to have little to do 
> with an output connector, this feature has been requested by Jack Krupansky 
> as a potential way of deciding when to tell Solr to commit documents, rather 
> than leave it up to Solr's configuration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to