Skip to content

Commit

Permalink
kie-kogito-runtimes-3521: Align jobs service knative eventing http co…
Browse files Browse the repository at this point in the history
…nnector config with runtime events config
  • Loading branch information
wmedvede committed May 17, 2024
1 parent 5646e27 commit 0f2080a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.eclipse.microprofile.reactive.messaging.Channel;
import org.eclipse.microprofile.reactive.messaging.Emitter;
import org.eclipse.microprofile.reactive.messaging.Message;
import org.eclipse.microprofile.reactive.messaging.OnOverflow;
import org.kie.kogito.addon.quarkus.common.reactive.messaging.http.CloudEventHttpOutgoingDecorator;
import org.kie.kogito.jobs.messaging.quarkus.AbstractReactiveMessagingJobsService;

Expand All @@ -43,7 +44,7 @@ public class KnativeEventingJobsService extends AbstractReactiveMessagingJobsSer
public KnativeEventingJobsService(
@ConfigProperty(name = "kogito.service.url") URI serviceUrl,
ObjectMapper objectMapper,
@Channel(KOGITO_JOB_SERVICE_JOB_REQUEST_EVENTS_CHANNEL) Emitter<String> eventsEmitter) {
@Channel(KOGITO_JOB_SERVICE_JOB_REQUEST_EVENTS_CHANNEL) @OnOverflow(value = OnOverflow.Strategy.UNBOUNDED_BUFFER) Emitter<String> eventsEmitter) {
super(serviceUrl, objectMapper, eventsEmitter);
}

Expand Down

0 comments on commit 0f2080a

Please sign in to comment.