Class IncrementalDataFeedEntityUpdateEvent

java.lang.Object
com.broadleafcommerce.datafeed.messaging.payload.IncrementalDataFeedEntityUpdateEvent
All Implemented Interfaces:
Serializable

public class IncrementalDataFeedEntityUpdateEvent extends Object implements Serializable
Microservices such as catalog, pricing, and inventory will send this type of message to notify data feed services when an entity is updated in a way that should result in a product being 'republished' to interested data feeds. For example, if a SKU goes out of stock, we would want the product associated to that SKU to be re-processed such that its availability is up-to-date on the corresponding data feeds. Ideally, this would happen soon after receipt rather than waiting for the next DefaultDataFeedProcessTypes.FULL_AUTHORITATIVE execution.

Note that the actual change which occurred on the originating entity is not a concern of this mechanism - it is only interested in understanding which products are affected so that it can engage the full fetch + publish process for them (which would naturally obtain all the latest state).

Note that the entity change should have happened at a production (non-sandbox) level, since sandbox-level changes are not relevant to data feeds.

See Also: