You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2023/05/18 02:34:12 UTC

[GitHub] [pulsar] tisonkun edited a comment on the discussion: Connection timeout working is not same as described in the clientBuilder[Bug]

GitHub user tisonkun edited a comment on the discussion: Connection timeout working is not same as described in the clientBuilder[Bug]

@rgaur12 can you elaborate a bit what's the real duration the connection attempt is dropped? Also can you share the log that you identify the issue as you described?

I go through the code and it simply passes the config option to Netty's bootstrap so that the logic should be correct:

```java
// ConnectionPool.java
bootstrap.option(ChannelOption.CONNECT_TIMEOUT_MILLIS, conf.getConnectionTimeoutMs());
```

GitHub link: https://github.com/apache/pulsar/discussions/20344#discussioncomment-5934197

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org