codelipenghui commented on a change in pull request #12523:
URL: https://github.com/apache/pulsar/pull/12523#discussion_r749856334
##########
File path:
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java
##########
@@ -563,10 +563,14 @@ void run() throws PulsarAdminException {
+ ", locking required.")
private boolean subscriptionBacklogSize = false;
+ @Parameter(names = { "-etb",
+ "--get-earliest-time-in-backlog" }, description = "Set true to
get earliest time in backlog")
Review comment:
Ok, to avoid confusion, I think we can only return the timestamp of the
earliest unacked message?
##########
File path:
pulsar-common/src/main/java/org/apache/pulsar/common/protocol/Commands.java
##########
@@ -440,6 +440,17 @@ public static void skipMessageMetadata(ByteBuf buffer) {
buffer.skipBytes(metadataSize);
}
+ public static long getEntryTimestamp(ByteBuf
headersAndPayloadWithBrokerEntryMetadata) throws IOException {
Review comment:
```suggestion
public static long getEntryPublishTimestamp(ByteBuf
headersAndPayloadWithBrokerEntryMetadata) throws IOException {
```
--
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]