Skip to content

Support batches processing for synchronization queue messages #1724

Closed
magento/magento2
#29543
@sivaschenko

Description

@sivaschenko

Media content bulk sync service

  • Introduce Magento\MediaContentSynchronizationApi\Api\SynchronizeIdentitiesInterface::execute(array $contentIdentities): void accepting the array of ContentIdentityInterface as a parameter
  • Intorduce the implementation of the interface Magento\MediaContentSynchronization\Model\SynchronizeIdentities
  • Reuse the service in existing implementations of Magento\MediaContentSynchronizationApi\Api\SynchronizeInterface (i.e. Magento\MediaContentSynchronizationCatalog\Model\Synchronizer\Category::synchronizeItem)

Media content synchronization consumer

  • Update the media content queue consumer Magento\MediaContentSynchronization\Model\Consume to be able to consume the message containing information about content identities and use SynchronizeIdentitiesInterface if such information is present in the message

Media gallery synchronization consumer

  • Update the media content queue consumer Magento\MediaGallerySynchronization\Model\Consume to be able to consume the message containing information about path's to synchronize and use SynchronizeFilesInterface if such information is present in the message

Metadata

Metadata

Assignees

Labels

Priority: P3May be fixed according to the position in the backlogSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions