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 2019/06/05 07:18:52 UTC

[GitHub] [pulsar] jiazhai commented on a change in pull request #4477: [issues 4476] Fix MessageID output order error

jiazhai commented on a change in pull request #4477: [issues 4476] Fix MessageID output order error
URL: https://github.com/apache/pulsar/pull/4477#discussion_r290606828
 
 

 ##########
 File path: pulsar-client-cpp/lib/MessageId.cc
 ##########
 @@ -92,7 +92,7 @@ int32_t MessageId::partition() const { return impl_->partition_; }
 
 PULSAR_PUBLIC std::ostream& operator<<(std::ostream& s, const pulsar::MessageId& messageId) {
     s << '(' << messageId.impl_->ledgerId_ << ',' << messageId.impl_->entryId_ << ','
-      << messageId.impl_->batchIndex_ << ',' << messageId.impl_->partition_ << ')';
+      << messageId.impl_->partition_ << ',' << messageId.impl_->batchIndex_ << ')';
 
 Review comment:
   nice catch

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services