baomingyu commented on a change in pull request #3162:
URL: https://github.com/apache/incubator-inlong/pull/3162#discussion_r827618346
##########
File path:
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/pulsar/PulsarClientService.java
##########
@@ -246,6 +245,9 @@ public boolean sendMessage(int poolIndex, String topic,
Event event,
* @param orderEvent orderEvent
*/
private void sendResponse(OrderEvent orderEvent) {
+ if
("false".equals(orderEvent.getHeaders().get(AttributeConstants.MESSAGE_IS_ACK)))
{
+ return;
Review comment:
just false need not to response message , both null ant true all need
response.
--
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]