Technoboy- commented on code in PR #24524:
URL: https://github.com/apache/pulsar/pull/24524#discussion_r2215005429


##########
pip/pip-435.md:
##########
@@ -0,0 +1,41 @@
+# PIP-435: Add `startTimestamp` and `endTimestamp` for consuming message in 
client cli
+
+# Background knowledge
+
+Currently, if users consume messages from a topic using the Pulsar client CLI, 
they can't have an option to consume messages from a specific time. This PIP 
proposes to add `startTimestamp` and `endTimestamp` options to the Pulsar 
client CLI to allow users to consume messages within a specific time range.
+
+# Motivation
+
+Add `startTimestamp` and `endTimestamp` options to the client consume CLI.
+
+# Goals
+
+## In Scope
+
+
+## Out of Scope
+
+# High Level Design
+
+Add `startTimestamp` and `endTimestamp` options in CmdConsume.
+
+```bash
+@Option(names = { "-stp", "--start-timestamp" }, description = "Start 
timestamp for consuming messages")
+private long startTimestamp = 0L;
+
+@Option(names = { "-etp", "--end-timestamp" }, description = "End timestamp 
for consuming messages")
+private long endTimestamp = 0L;

Review Comment:
   addressed



-- 
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-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to