Omega-Ariston commented on issue #282:
URL: https://github.com/apache/pulsar-manager/issues/282#issuecomment-653441452


   > Yes, I think this is a good idea. I'll mark it help-wanted first. If 
anyone wants to do it, please refer to the following step.
   > 
   > 1. Get the total number of `cluster`, `tenant`, `namespace`, `topic`, 
`producer`, `consumer`, `broker` and `bookie`, refer to this implementation 
https://github.com/apache/pulsar-manager/blob/master/src/main/java/org/apache/pulsar/manager/mapper/TopicsStatsMapper.java.
   > 2. Add dao Layer Implementation 
https://github.com/apache/pulsar-manager/blob/master/src/main/java/org/apache/pulsar/manager/dao/TopicsStatsRepositoryImpl.java
   > 3. Add Service layer Interface and implement => 
https://github.com/apache/pulsar-manager/tree/master/src/main/java/org/apache/pulsar/manager/service
   > 4. Add controller => 
https://github.com/apache/pulsar-manager/tree/master/src/main/java/org/apache/pulsar/manager/controller
   > 5. Add unit tests => 
https://github.com/apache/pulsar-manager/blob/master/src/test/java/org/apache/pulsar/manager/
   > 6. Add front-end interface => 
https://github.com/apache/pulsar-manager/blob/master/front-end/src/api
   > 7. Add front page => 
https://github.com/apache/pulsar-manager/tree/master/front-end/src/views/management
   > 
   > More information: 
https://github.com/apache/pulsar-manager/blob/master/CONTRIBUTING.md
   > 
   > @tangshihui
   
   Working on it, but have one question, when doing step 1, can I just simply 
just call the services for cluster, tenant, namespace... seperately and gather 
the result, instead of writing sql statements myself in 
`TopicsStatsMapper.java` ? Since the latter implementation needs to take the 
type of users(super or normal user) into account.


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


Reply via email to