merlimat commented on a change in pull request #1863: Cpp client: add seek
support in consumer for cpp client
URL: https://github.com/apache/incubator-pulsar/pull/1863#discussion_r192423437
##########
File path: pulsar-client-cpp/lib/ConsumerImpl.cc
##########
@@ -879,4 +879,45 @@ void ConsumerImpl::brokerConsumerStatsListener(Result
res, BrokerConsumerStatsIm
}
}
+void ConsumerImpl::handleSeek(Result result, ResultCallback callback) {
+ if (result == ResultOk) {
+ Lock lock(mutex_);
Review comment:
No need to grab mutex here
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services