jinrongluo commented on issue #349:
URL: 
https://github.com/apache/incubator-eventmesh/issues/349#issuecomment-841677912


   We can further extend the persistent module and rest admin module to manage 
Topics. This is related to my issue #346 
   
   For example at the persist-api module:
   
   ```
    public void addTopic(String topicName);
    
   public void removeTopic(String topicName);
   
   public List<String> listTopics();
   ```
   
   At the rest module, we offer this RESTful API:
   
   ```
     // create one topic
   POST /rest/topics
   {
       "name":  "mytopic1"
   }
   
      // List all topics
   GET  /rest/topics
   
   
   ```
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to