lhotari commented on code in PR #24952:
URL: https://github.com/apache/pulsar/pull/24952#discussion_r2497892316
##########
pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsMetricsResource.java:
##########
@@ -45,7 +45,7 @@ public class FunctionsMetricsResource extends
FunctionApiResource {
public Response getMetrics() throws IOException {
WorkerService workerService = get();
- ByteBuf buf = ByteBufAllocator.DEFAULT.heapBuffer();
+ ByteBuf buf = PulsarByteBufAllocator.DEFAULT.heapBuffer();
Review Comment:
Since this is using a `heapBuffer`, this change most likely doesn't make a
difference.
--
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]