syhily commented on a change in pull request #17452:
URL: https://github.com/apache/flink/pull/17452#discussion_r791421706



##########
File path: 
flink-connectors/flink-connector-pulsar/src/main/java/org/apache/flink/connector/pulsar/common/config/PulsarConfigUtils.java
##########
@@ -94,6 +100,11 @@ private PulsarConfigUtils() {
     public static PulsarClient createClient(Configuration configuration) {
         ClientBuilder builder = PulsarClient.builder();
 
+        // requestTimeoutMs don't have a setter method on ClientBuilder. We 
have to use low level
+        // setter method instead. So we put this at the beginning of the 
builder.
+        Integer requestTimeoutMs = 
configuration.get(PULSAR_REQUEST_TIMEOUT_MS);
+        builder.loadConf(singletonMap("requestTimeoutMs", requestTimeoutMs));

Review comment:
       This has been added to the document. It was generated by `flink-docs`.




-- 
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: issues-unsubscr...@flink.apache.org

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


Reply via email to