NguyenDinhThien-future-aavn commented on code in PR #4003:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4003#discussion_r2265847159
##########
quarkus/addons/messaging/common/src/main/java/org/kie/kogito/addon/quarkus/messaging/common/AbstractQuarkusCloudEventReceiver.java:
##########
@@ -57,10 +57,13 @@ protected void
setCloudEventUnmarshaller(CloudEventUnmarshallerFactory<I> cloudE
protected CompletionStage<?> produce(final Message<I> message) {
LOGGER.debug("Received message {}", message);
return produce(message, (v, e) -> {
- LOGGER.debug("Acking message {}", message);
- message.ack();
if (e != null) {
LOGGER.error("Error processing message {}",
message.getPayload(), e);
+ LOGGER.debug("NonAcking message {}", message);
Review Comment:
I removed the redundant debug log, sorry for that, that was careless of me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]