I came across the concept called webhook and publisher/subscriber. In webhook the third party application send the information whenever the updation happened in the depend application, thirdparty will send a HTTP post request to the mention URL for your application, and In publisher and subscriber, subscriber will register the topic and publisher write on that topic then registrar(like the third party) will send the information to the subscriber based on the topic subscribed.
both are similar or difference?
I am confused can anyone give solve to this?