Question on Stopping Push subscription for live stream


#1

I have setup a Push subscription with connector as MongoDB.
When I stop this push subscription(live streaming), does it still deliver whatever data is present in your buffer to MongoDB.

I use your java client api to stop the push subscription as follows -
import org.datasift.Definition;
import org.datasift.EAPIError;
import org.datasift.EAccessDenied;
import org.datasift.EInvalidData;
import org.datasift.PushDefinition;
import org.datasift.PushSubscription;
import org.datasift.User;



User user = new User(,);
PushSubscription ps;
try {
ps = user.getPushSubscription();
if(ps != null) {
ps.stop();
}
} catch (EAPIError e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (EAccessDenied e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (EInvalidData e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


#2

After calling push/stop, data that is still in the Push buffer will continue to deliver interactions to your destination. If you call push/delete, it will completely stop delivery, but also includes dropping off any remaining interactions.