pipelinestreamsets

Reset Origin of a StreamSets Pipeline using another pipeline


I want to reset the origin of a StreamSets pipeline, using another pipeline. I made a pipeline that sends 1 useless record to HTTP client component. The HTTP client contains the RESTFUL URL to reset the origin of a pipeline. It's something like that:

Resource URL: http://<hostname>:<port>/rest/v1/pipeline/StreamSetsPipelinec78f8739-8adb-47ad-beaa-77b3de60038d/resetOffset

HTTP method is POST

I tested it and it doesn't reset the origin.

Can anyone help me?


Solution