jinmeiliao commented on code in PR #7666:
URL: https://github.com/apache/geode/pull/7666#discussion_r868198619


##########
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommand.java:
##########
@@ -168,6 +169,8 @@ public ResultModel createRegion(
           help = CliStrings.CREATE_REGION__LOCALMAXMEMORY__HELP) Integer 
prLocalMaxMemory,
       @CliOption(key = CliStrings.CREATE_REGION__OFF_HEAP, 
specifiedDefaultValue = "true",
           help = CliStrings.CREATE_REGION__OFF_HEAP__HELP) Boolean offHeap,
+      @CliOption(key = CliStrings.CREATE_REGION__PARTITION_LISTENER,

Review Comment:
   looks like the region can have multiple partition listeners, so 
`ClassName[]` can be used here, you will need to add `optionContext = 
"splittingRegex=,(?![^{]*\\})",` to allow splitting the input only with "," 
outside of json string.



-- 
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: notifications-unsubscr...@geode.apache.org

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

Reply via email to