gaoran10 commented on a change in pull request #6183: Namespace level offloader
URL: https://github.com/apache/pulsar/pull/6183#discussion_r376347214
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
 ##########
 @@ -1076,5 +1077,31 @@ public void 
setSchemaValidtionEnforced(@PathParam("tenant") String tenant,
         internalSetSchemaValidationEnforced(schemaValidationEnforced);
     }
 
+    @POST
+    @Path("/{tenant}/{namespace}/offloadPolicies")
+    @ApiOperation(value = " Set offload configuration on a namespace.")
+    @ApiResponses(value = {
+            @ApiResponse(code = 403, message = "Don't have admin permission"),
+            @ApiResponse(code = 404, message = "Namespace does not exist"),
+            @ApiResponse(code = 409, message = "Concurrent modification"),
+            @ApiResponse(code = 412, message = "Bucket must be specified") })
 
 Review comment:
   I was so careless

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to