opentelemetry-java-instrumentation icon indicating copy to clipboard operation
opentelemetry-java-instrumentation copied to clipboard

[improve][pulsar] Enhance SendCallback to address PIP-363

Open dao-jun opened this issue 1 year ago • 0 comments

In PIP-363, Pulsar will change the org.apache.pulsar.client.impl.SendCallback#sendComplete method sign from

public void sendComplete(Exception e)

to

public void sendComplete(Exception e, OpSendMsgStats stats)

As we wrapped org.apache.pulsar.client.impl.SendCallback#sendComplete in ProducerImplInstrumentation, this PIP will break the current javaagent behavior.

This PR is for the purpose of addressing it, and it will also compatible with pulsar client 2.8.0 to LATEST.

dao-jun avatar Jun 21 '24 11:06 dao-jun