Publish/Subscribe Events with Sugar?

We are working on an event-driven architecture that leverages Publish/Subscribe. Is there any method to customize Sugar to be a subscriber to events? 

If so, how do you configure Sugar?

If not, what is the best method to create a PHP-based subscriber that will then interact with Sugar?

Parents
  •  ,

    How is your publisher sending those events? realtime through streams? queueing technology? 

    An event-driven architecture usually has a middleware (queue or streaming/kafka topics, etc) that will broadcast that message and usually can transform that to its consumers. 

    I would leverage AWS SQS (or your architecture's middleware), consume it from there, and push it to Sugar through RestAPI.

    under the covers, consumers are daemons that are listening for those events and PHP isn't a great fit for that.

    SugarCRM | Principal Developer Advocate

Reply
  •  ,

    How is your publisher sending those events? realtime through streams? queueing technology? 

    An event-driven architecture usually has a middleware (queue or streaming/kafka topics, etc) that will broadcast that message and usually can transform that to its consumers. 

    I would leverage AWS SQS (or your architecture's middleware), consume it from there, and push it to Sugar through RestAPI.

    under the covers, consumers are daemons that are listening for those events and PHP isn't a great fit for that.

    SugarCRM | Principal Developer Advocate

Children
No Data