Alonexc opened a new issue, #3398:
URL: https://github.com/apache/incubator-eventmesh/issues/3398

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   
![image](https://user-images.githubusercontent.com/91315508/224202442-845d080b-733b-413b-b52b-24401b5f7b93.png)
   
![image](https://user-images.githubusercontent.com/91315508/224202455-47d6a071-7a5c-4253-96be-ef6255a73a59.png)
   located at:
   
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/EventHandler.java
 line 83,108
   
   
   ### Describe the solution you'd like
   
   a.return an empty map instead of null
   
![image](https://user-images.githubusercontent.com/91315508/224202546-1a0a3c23-43ef-41e2-9383-07cbaad9438c.png)
   
   b.remove this "close" call; closing the resource is handled automatically by 
the try-with-resources.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


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

To unsubscribe, e-mail: [email protected]

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