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..

Hello everyone. I'm new to Spryker and I've started to delve into the architecture. I have a questio

U04BCHQVACE
U04BCHQVACE Posts: 39 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello everyone. I'm new to Spryker and I've started to delve into the architecture. I have a question about publish and subscribe. My current understanding is that the propel layer fires events when models are updated, created, deleted, etc (according to your sync behaviour config). Those events go to a broker (RabbitMQ) queue. The question is, what happens if the broker is not available? Does the database transaction fail?

Comments

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    should not, event will be saved into spy_event_behavior_entity_change table and will be consumed once rabbit is available again using event:trigger:timeout command … per my understanding

  • sebastian.larisch
    sebastian.larisch Spryker Customer Posts: 143 πŸ§‘πŸ»β€πŸš€ - Cadet

    u can try by stopping your rabbit container and save sth in Zed

  • U04BCHQVACE
    U04BCHQVACE Posts: 39 πŸ§‘πŸ»β€πŸš€ - Cadet

    Nice, excellent! That is pretty good. Outbox pattern for the win! πŸ™‚

  • U04BCHQVACE
    U04BCHQVACE Posts: 39 πŸ§‘πŸ»β€πŸš€ - Cadet

    Thank's for the clarification πŸ™‚

  • U04BCHQVACE
    U04BCHQVACE Posts: 39 πŸ§‘πŸ»β€πŸš€ - Cadet

    I tried this. Stopped the broker and my import crashed. 😞