Skip to content

Commit

Permalink
[Fix apache#3453] Setting overflow strategy to unbounded for process …
Browse files Browse the repository at this point in the history
…events
  • Loading branch information
fjtirado committed Mar 22, 2024
1 parent ded2b68 commit 1b1589c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

import org.eclipse.microprofile.reactive.messaging.Channel;
import org.eclipse.microprofile.reactive.messaging.Message;
import org.eclipse.microprofile.reactive.messaging.OnOverflow;
import org.eclipse.microprofile.reactive.messaging.OnOverflow.Strategy;
import org.kie.kogito.addon.quarkus.common.reactive.messaging.MessageDecoratorProvider;
import org.kie.kogito.event.DataEvent;
import org.kie.kogito.event.EventPublisher;
Expand Down Expand Up @@ -52,6 +54,7 @@ public class ReactiveMessagingEventPublisher implements EventPublisher {

@Inject
@Channel(PROCESS_INSTANCES_TOPIC_NAME)
@OnOverflow(Strategy.UNBOUNDED_BUFFER)
MutinyEmitter<String> processInstancesEventsEmitter;
private BiConsumer<MutinyEmitter<String>, Message<String>> processInstanceConsumer;

Expand Down

0 comments on commit 1b1589c

Please sign in to comment.