Renkai commented on a change in pull request #8717:
URL: https://github.com/apache/pulsar/pull/8717#discussion_r537973387
##########
File path:
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java
##########
@@ -1336,11 +1335,35 @@ void run() throws PulsarAdminException {
, description = "ManagedLedger offload deletion lag in bytes")
private Long offloadDeletionLagInMillis;
+ @Parameter(
+ names = {"--offloadedReadPriority", "-orp"},
+ description = "read priority for offloaded messages",
+ required = false
+ )
+ private String offloadReadPriorityStr;
+
@Override
void run() throws PulsarAdminException {
String persistentTopic = validatePersistentTopic(params);
+
+ var offloadedReadPriority =
OffloadPolicies.DEFAULT_OFFLOADED_READ_PRIORITY;
Review comment:
@hangc0276
The official support of type inference in Java began at Java 10, I think
it's a good feature to keep code base concise, before Java 10, we can use the
Lombok version first, just like we use JodaTime before Java8.
https://openjdk.java.net/jeps/286
----------------------------------------------------------------
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:
[email protected]