Getting issue with queue import
We've implemented data import with queue with help of this article
Import is working fine , but if we get any error in queue , we're not getting any error in error queue, we've created 2 queue .
Also after successful import , product data is not visible on frontend/API we've to trigger publish event manually.
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,087 ⚖️ - Guardians (admin)
Heyhey @mk00559179,
How did you define you queue? I remember some flaw with some queues if there wasnt a retry-queue defined.
All the best,
Florian
0 -
I've defined queue in Pyz\Client\RabbitMq\RabbitMqConfig as
$this->queueOptionCollection->append($this->createExchangeOptionTransfer(DataImportConfig::PRODUCT_ABSTRACT_QUEUE, DataImportConfig::PRODUCT_ABSTRACT_QUEUE_ERROR));
and we're passing data to queue from glue API using queue client
$queueSendMessageTransfer = (new QueueSendMessageTransfer()) ->setBody(json_encode($queueContent));$queueClient->sendMessage( $queueName, $queueSendMessageTransfer);
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 78 Spryker News
- 935 Developer Corner
- 793 Spryker Development
- 90 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random