funky-eyes commented on code in PR #7492:
URL: https://github.com/apache/incubator-seata/pull/7492#discussion_r2234002689


##########
common/pom.xml:
##########
@@ -48,6 +48,10 @@
             <artifactId>httpclient</artifactId>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents.client5</groupId>

Review Comment:
   I think we can start by submitting a utility class fully implemented with 
HttpClient5 and add support for HTTP/2 in it. Then, we can mark the HttpClient4 
version of the utility class as deprecated. Next, we can publish some community 
tasks, such as detecting whether there is an existing dependency on 
HttpClient5. If it exists, use version 5; if not, fall back to version 4. In 
this case, output a warning log to notify users that HttpClient4 will soon be 
removed.



-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to