You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/04 01:15:00 UTC

[GitHub] [pulsar] rdhabalia opened a new pull request #5314: [pulsar-broker] fix ns-isolation api to fetch policy for specific broker

rdhabalia opened a new pull request #5314: [pulsar-broker] fix ns-isolation api to fetch policy for specific broker
URL: https://github.com/apache/pulsar/pull/5314
 
 
   ### Motivation
   Right now, 
   `./pulsar-admin ns-isolation-policy broker <cluster> --broker <broker-name>` is broken because broker incorrectly validates broker:
   - broker validates that given broker is part of `availableBroker` list which is unnecessary and incorrect because `availableBroker` contains `broker:port` which will always fail the validation and this command never gives any correct result.
   
   ### Modification
   - remove unnecessary validation
   - add more ns-isolation data into response. eg: `policyName` and `isPrimary` broker.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services