flowers-59f opened a new pull request, #12107:
URL: https://github.com/apache/inlong/pull/12107

   Fixes https://github.com/apache/inlong/issues/12106
   
   ### Modifications
   Before saving the connection, verify if there is a corresponding cluster
   The reason for conducting the state judgment first is that some modes do not 
require the creation or deletion of MQ resources.
   Refer to QueueResourceListener.listen(...)
   ### Verifying this change
   - [x] This change added tests and can be verified as follows:
   I didn't write unit tests, but conducted a front-end and back-end 
integration test. 
   The results are as follows:
   Adding data access when there is no corresponding MQ cluster
   <img width="1369" height="626" alt="image" 
src="https://github.com/user-attachments/assets/ca7ea4e4-55c9-4919-9daf-019277bfbd9b";
 />
   <img width="1345" height="663" alt="image" 
src="https://github.com/user-attachments/assets/61a58cbf-2664-4a32-8714-249d7799a62c";
 />
   <img width="1377" height="651" alt="image" 
src="https://github.com/user-attachments/assets/e5cb24e1-3994-4c58-aed1-d8179c807842";
 />
   Can intercept the creation operation
   
   After creating the corresponding MQ cluster
   <img width="1288" height="353" alt="image" 
src="https://github.com/user-attachments/assets/cd7fbddc-76f8-4dd6-980f-666e2c49edcf";
 />
   <img width="1311" height="297" alt="image" 
src="https://github.com/user-attachments/assets/f3a10f25-553a-4ca9-a66f-7c24f588c083";
 />
   Success in creation
   And it will not affect the creation of data flow groups during data 
synchronization.
   <img width="1313" height="203" alt="image" 
src="https://github.com/user-attachments/assets/2f6d3768-6652-4505-ab1d-cb5c24d5f7c7";
 />
   
   ### Documentation
     - Does this pull request introduce a new feature? (no)
   


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

Reply via email to