rocketmq-client-python
rocketmq-client-python copied to clipboard
when does it support tls?
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: