You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/08/24 12:44:01 UTC
[GitHub] [pulsar] Demogorgon314 commented on a change in pull request #11743: [pulsar-client] Fix: set and return topic name on message api
Demogorgon314 commented on a change in pull request #11743:
URL: https://github.com/apache/pulsar/pull/11743#discussion_r694813316
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/TypedMessageBuilderImpl.java
##########
@@ -284,7 +284,7 @@ public MessageMetadata getMetadataBuilder() {
public Message<T> getMessage() {
beforeSend();
- return MessageImpl.create(msgMetadata, content, schema);
+ return MessageImpl.create(msgMetadata, content, schema, producer.topic);
Review comment:
Why do we use `producer.topic` instead of `producer.getTopic()` ?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org