You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "limingxuan2011 (via GitHub)" <gi...@apache.org> on 2023/06/12 02:28:14 UTC

[GitHub] [rocketmq-client-python] limingxuan2011 opened a new issue, #139: when does it support tls?

limingxuan2011 opened a new issue, #139:
URL: https://github.com/apache/rocketmq-client-python/issues/139

   java client can support connect with rocketmq-server in tls,
   but python client does not have tls option,
   when does it support?
   
   
   java client example:
   `public class Main {
       public static void main(String[] args) {
           DefaultMQProducer producer = new DefaultMQProducer("ProducerGroupName");
           producer.setNamesrvAddr("192.168.0.1:8100");
           //producer.setUseTLS(true);  //if rocketmq server use ssl mode,use this option
           try {
               producer.start();
               Message msg = new Message("TopicTest",
                   "TagA",
                   "OrderID188",
                   "Hello world".getBytes(RemotingHelper.DEFAULT_CHARSET));
               SendResult sendResult = producer.send(msg);
               System.out.printf("%s%n", sendResult);
   
           } catch (Exception e) {
               e.printStackTrace();
   
           }
           producer.shutdown();
       }
   }`
   
   python client does not have this option:
   ![image](https://github.com/apache/rocketmq-client-python/assets/40893643/8c6a8ca8-a3c9-4a94-8ae0-2aadf406664c)
   


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

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