From 6c7249142741be4614312a25db1d717b7e45dc72 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 20 Oct 2026 04:31:11 +0000 Subject: [PATCH] Log the topic name instead of its pointer in `MultiTopicsConsumerImpl` `topicName` is a `TopicNamePtr`, so streaming it printed the heap address of the `TopicName` object instead of the name. Co-Authored-By: Claude Opus 5.5 --- lib/MultiTopicsConsumerImpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MultiTopicsConsumerImpl.cc b/lib/MultiTopicsConsumerImpl.cc index 4f5f9f71..913655d9 100644 --- a/lib/MultiTopicsConsumerImpl.cc +++ b/lib/MultiTopicsConsumerImpl.cc @@ -262,7 +262,7 @@ void MultiTopicsConsumerImpl::subscribeTopicPartitions( &MultiTopicsConsumerImpl::handleSingleConsumerCreated, get_shared_this_ptr(), std::placeholders::_1, std::placeholders::_2, partitionsNeedCreate, topicSubResultPromise)); consumers_.put(topicName->toString(), consumer); - LOG_DEBUG("Creating Consumer for - " << topicName << " - " << consumerStr_); + LOG_DEBUG("Creating Consumer for - " << topicName->toString() << " - " << consumerStr_); consumer->start(); } else {