wy471x opened a new pull request, #6923:
URL: https://github.com/apache/shenyu/pull/6923

   <!-- Describe your PR here; e.g. Fixes #issueNo -->
   
   <!--
   Thank you for proposing a pull request. This template will guide you through 
the essential steps necessary for a pull request.
   -->
   Make sure that:
   
   - [X] You have read the [contribution 
guidelines](https://shenyu.apache.org/community/contributor-guide).
   - [X] You submit test cases (unit or integration tests) that back your 
changes.
   - [X] Your local test passed `./mvnw clean install 
-Dmaven.javadoc.skip=true`.
   
   ## Summary
   
   Changes:
   - Subscribe.java: sendSubAckMessage now takes the filtered 
List<MqttTopicSubscription> and builds the SUBACK grant list from 
topicSub.qualityOfService().value() instead of        
     hard-coding AT_MOST_ONCE for every topic (MQTT-3.8.4/3.9). FAILURE 
subscriptions remain excluded from the ack. Removed the now-unused MqttQoS and 
ArrayList imports.
   
   Test Cases:
     - SubscribeTest.java (new): 3 tests — grants requested QoS (2/0/1), 
excludes FAILURE subscriptions, closes channel when already connected.
   
   close [#6848](https://github.com/apache/shenyu/issues/6848)


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