You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/09/10 18:51:02 UTC

[GitHub] [incubator-pinot] fx19880617 opened a new issue #6000: Fix broker apis

fx19880617 opened a new issue #6000:
URL: https://github.com/apache/incubator-pinot/issues/6000


   Current controller `/brokers` APIs only returns instance id and expect instance is in the format of `ROLE_HOSTNAME_PORT`, however this is not the right thing any more.
   So we propose the new `/broker/v2` APIs which expand the instance id to a json blob with the fields: instanceId/host/port/etc.
   
   Sample expected request/response:
   ```
   ➜ curl localhost:9000/brokers | jq .
   {
     "tenants": {
       "DefaultTenant": [
         {
           "instanceId": "Broker_127.0.0.1_8000",
           "host": "127.0.0.1",
           "port": 8000
         }
       ]
     },
     "tables": {
       "airlineStats": [
         {
           "instanceId": "Broker_127.0.0.1_8000",
           "host": "127.0.0.1",
           "port": 8000
         }
       ]
     }
   }
   ```
   
   @KKcorps @kishoreg 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [incubator-pinot] KKcorps commented on issue #6000: Fixing fetch broker information API

Posted by GitBox <gi...@apache.org>.
KKcorps commented on issue #6000:
URL: https://github.com/apache/incubator-pinot/issues/6000#issuecomment-697540445


   @fx19880617 Should I take this up?


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [incubator-pinot] fx19880617 commented on issue #6000: Fixing fetch broker information API

Posted by GitBox <gi...@apache.org>.
fx19880617 commented on issue #6000:
URL: https://github.com/apache/incubator-pinot/issues/6000#issuecomment-697709387


   > @fx19880617 Should I take this up?
   
   please :) 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org