What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey, is there a clean way, to requeue messages if something is missing (or maybe another idea how to

U01BZ7Q3XRV
U01BZ7Q3XRV Posts: 148 🧑🏻‍🚀 - Cadet

Hey, is there a clean way, to requeue messages if something is missing (or maybe another idea how to solve this)? In my case, we want to add the concrete product url to search. the buildConcreteUrl is part of the productStorageClient and relies on the data of the product storage. But for newly imported products, the search queue seems to be processed, before the product is written to storage. Another Idea would be, to try to create the url from product concrete entity, but I need to duplicate at least some logic from the product storage writer to get the url params for the super attributes

Comments

  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 🧑🏻‍🚀 - Cadet

    or, maybe, retrieve the url from the client on demand during the search query from storage. Not sure about the performance here, since I think normally all data is retrieved directly from elasticsearch on search pages without having to query all the storage records

  • U031G802S74
    U031G802S74 Posts: 29 🧑🏻‍🚀 - Cadet

    So you want to create fixed urls for the concretes and then be able to access that from search?

  • U01BZ7Q3XRV
    U01BZ7Q3XRV Posts: 148 🧑🏻‍🚀 - Cadet

    @U031G802S74 yes, exactly. We show the concrete in search and it should link to the product page with preselected super attributes. Currently we tend to access the data from storage during /after the search query