Hi @KaustubaTM ,
You can try finding job using
JobgetJob(java.lang.String topic, java.util.Map<java.lang.String,java.lang.Object> template)
Find a job - either queued or active.
Once you have job, you can get the Job id from that job
java.lang.StringgetId()
Unique job ID.
Then stop ...