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

Jack Krupansky commented on CONNECTORS-41:
------------------------------------------

The notification is certainly "associated" with the output connection... or is 
it really associated with the job?

Originally, my thinking had been that the notification URL would be specified 
as part of the output connection, but maybe it is an output-specific parameter 
that gets specified for the job. It could be either.

OTOH, maybe a "notification connector" makes more sense and is more general 
rather than just something to use for Solr. Also, that might provide the way to 
implement an optional commit for Solr, as a simple notification connection, so 
that ACF core itself doesn't know or care about Solr or commits or any of that. 
I think the concept of a notification connector makes sense, but is not 
essential for release 0.1 or 0.5.

I'm open to suggestions. We can do it real simple as a parameter for the Solr 
output connector or the job, or we could be more general. Tough call. If you 
feel up to doing the more general feature, fine, but the simple notification 
URL feature is all that is essential.

Also, to be clear about the use case, it is not just Solr commit, but some 
external app might just want to notify a user that their job has finished and 
to do whatever other (beyond Solr commit) processing may be needed upon job 
completion.

> 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