Forum Discussion

viji28's avatar
viji28
New Contributor
4 years ago

Triggered task response

We have a snaplogic pipeline which is designed to load data into the table and have created a triggered task to invoke the pipeline. This task is being called by another application.

In the recent execution , this task was invoked successfully and I do not see any issue in loading data but I see some error in the dashboard:


Encountered an error while sending response to triggered task client

Reason: Close SendCallback@6b8420[PROCESSING][i=null,cb=org.eclipse.jetty.server.HttpChannel$SendCallback@627a7819] in state PROCESSING

Resolution: Check network connection and make sure the client is fully reading the response


Can someone help with in decoding this error please?

Thanks

2 Replies

  • kmiesse's avatar
    kmiesse
    Contributor

    Yes, I agree stopping is harsh and I ultimately would like to ensure there are no in-flight docs. We have JMS Consumer snaps configured to keep pipelines continually running. I have the following use cases where I want to report the snap as Completed, not Failed, as these are controlled stops.

    Use case 1: I need the pipeline to perform a controlled stop due to a known error: e.g. database connections timeout and there is no retry on our update and insert snaps so I need to restart the pipeline to get new connections.
    Use case 2: (If the Control Destination just pauses the JMS Consumer snap and doesn’t stop the JMS Consumer snap, which results in stopping the pipeline, then) I need a controlled stop after receiving some control message to be able to stop the pipeline softly.

    (I just discovered the Control Destination on this snap and I need to research how to use them to stop listening to ensure no docs are in-flight.)