Skip to main content
18 events
when toggle format what by license comment
May 27, 2021 at 14:36 vote accept Robert Sösemann
S May 17, 2021 at 0:02 history bounty ended CommunityBot
S May 17, 2021 at 0:02 history notice removed CommunityBot
May 13, 2021 at 18:43 comment added MLucci Maybe I'm not seeing something (smt in the documentation, or smt obvious) and my question has a simple answer, I think it connects with your original topic and question around if/why/which event handler architecture to choose. Thank you for coming back with a reply 🌻
May 13, 2021 at 18:39 comment added MLucci Scenario: one event, multiple unmanaged/uncontrolled apex triggers (one from your app, others from subscribers). We don't care the order in which subscribers process a single event. My question is, if a single subscriber fails (excepts), does processing of events move forward with new events for all other subscribers? For a single subscriver an uncaught expection causes "the train" to stop for the apex handler (i.e. next batch of new events are not processed until recovery/success) afair. What's the behavior when there are multiple apex subscribers working on the same event stream?
May 13, 2021 at 18:21 comment added Robert Sösemann @MLucci not sure if I get your ordering problem. All processes wait for single events with distinct topics like ids.
May 10, 2021 at 12:17 comment added MLucci Your question reminded some (unfinished) reasoning from months ago, at the time it was around using multiple events or not, order of execution, error handling, batching, etc... One question for you (maybe useful for your considerations, maybe you'll teach me smt :) -- in a "one event-multiple subscribers" architecture that doesn't keep control over subscribers (over event processing batch size and/or error handling)... what happens if a handler halts on event ID = 4? Does the processing of events go forward with event ID = 5 [without a secure wrapper in the middle that keeps the boat afloat]?
S May 8, 2021 at 22:30 history bounty started Robert Sösemann
S May 8, 2021 at 22:30 history notice added Robert Sösemann Draw attention
May 7, 2021 at 16:43 answer added Kevin Jones timeline score: 1
May 6, 2021 at 23:32 history became hot network question
May 6, 2021 at 21:00 history tweeted twitter.com/StackSalesforce/status/1390411055415939073
May 6, 2021 at 15:55 answer added Adrian Larson timeline score: 4
May 6, 2021 at 15:47 comment added Robert Sösemann Complicated answer: I don't know in advance and I don't want to care about, because aligning the efforts of alls subscribers will not be possible.
May 6, 2021 at 15:43 comment added Adrian Larson ^ That was my question. How much overlap is there between subscriber logic?
May 6, 2021 at 15:41 comment added Robert Sösemann I'm sure there will be a super answer soon, even for the given limited information. But I'm happy to answer specific questions.
May 6, 2021 at 15:39 comment added Adrian Larson It's hard to tell based on the information given how much overlap there might be between subscribers. Maybe some high level examples of what they do would help tie it together. To me, that's a core aspect of the solution space.
May 6, 2021 at 15:32 history asked Robert Sösemann CC BY-SA 4.0