I'm not sure I see a way to do this with gfsh.
I think the 'describe region' command would have to be enhanced to include
GatewaySender and AsyncEventQueue ids.
It looks like the constructor and getNonDefaultAttributes methods in
org.apache.geode.management.internal.cli.domain.RegionAttributesInfo class
would have to be modified to include the RegionAttributes
asyncEventQueueIds and gatewaySenderIds.
I did a quick modification of this class and 'describe region' looks like:
gfsh>describe region --name=/data
..........................................................
Name : data
Data Policy : partition
Hosting Members : ln-1
Non-Default Attributes Shared By Hosting Members
Type | Name | Value
--------- | --------------------- | ---------
Region | data-policy | PARTITION
| async-event-queue-ids | [db]
| size | 0
| gateway-sender-ids | [ny]
Partition | redundant-copies | 1
I'll file an enhancement request for this.
The JMX RegionMBean listRegionAttributes operation doesn't include the
async-event-queue-ids or gateway-sender-ids either. That would be a
modification
to org.apache.geode.management.internal.beans.RegionMBeanCompositeDataFactory.
It looks like you'd have to write your own function to get this data
currently.
Thanks,
Barry Oglesby
On Fri, Nov 3, 2017 at 1:03 PM, Xu, Nan <[email protected]> wrote:
> Hi,
>
>
>
> Wondering how to show the region setting, specifically, want to know
> which gateway sender is being used for a region. Not see a command for this
> in gfsh.
>
>
>
> Thanks,
>
> Nan
> ------------------------------
> This message, and any attachments, is for the intended recipient(s) only,
> may contain information that is privileged, confidential and/or proprietary
> and subject to important terms and conditions available at
> http://www.bankofamerica.com/emaildisclaimer. If you are not the intended
> recipient, please delete this message.
>