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/12/05 01:58:00 UTC

[GitHub] [incubator-pinot] mcvsubbu commented on pull request #6322: API to get status of consumption of a table

mcvsubbu commented on pull request #6322:
URL: https://github.com/apache/incubator-pinot/pull/6322#issuecomment-739105516


   Is the `_consumerState` a string or a well-defined set of values? If we are building an API, should we consider putting in a well-defined set of values in there, so that we can build (say) a management platform?
   
   Also, is a map for the output better (instead of an array):
   ```
   {
   "testTable__0__1__20201204T2030Z" : {
     "idealstate" : "CONSUMING",
     "externalView" : "ERROR",
     "maxOffsetConsumed" : "somevalueComparable",
     "consumerState" : "CONSUMING" // Can be one of CONSUMING, CATCHING_UP,  BUILDING_SEGMENT, etc..(TBD)
   },
   "testTable__0__2__whatever" : {
   },
   .
   .
   }
   ```


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