alb3rtobr opened a new pull request #669:
URL: https://github.com/apache/geode-native/pull/669


   I tried the gnmsg tool with a client log file connecting to a cluster that 
contains a partition region with a partition resolver, which caused an 
exception.
   
   With this change, it is possible to parse the partition resolver name. Still 
pending to parse the list of fixed partition attributes, maybe in other 
ticket...
   
   This is how the message looks like after parsing my log file:
   ```
   {
     "message": {
       "Timestamp": "16:47:55.225776",
       "Connection": "0",
       "Direction": "<---",
       "Type": "RESPONSE_CLIENT_PARTITION_ATTRIBUTES",
       "Length": 80,
       "Parts": 3,
       "TransactionId": -1,
       "SecurityFlag": 0,
       "BucketCount": {
         "Size": 5,
         "IsObject": 1,
         "Data": {
           "DSCode": "CacheableInt32",
           "Value": 113
         }
       },
       "ColocatedWith": {
         "Size": 0,
         "IsObject": 0
       },
       "PartitionResolverName": {
         "Size": 60,
         "IsObject": 1,
         "Data": {
           "DSCode": "CacheableASCIIString",
           "StringLength": 57,
           "Value": "org.apache.geode.cache.util.StringPrefixPartitionResolver"
         }
       }
     }
   }
   ```


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


Reply via email to