You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "gunli (via GitHub)" <gi...@apache.org> on 2023/06/03 03:50:13 UTC
[GitHub] [pulsar-client-go] gunli opened a new issue, #1024: Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors
gunli opened a new issue, #1024:
URL: https://github.com/apache/pulsar-client-go/issues/1024
#### Expected behavior
Default `KeepAliveInterval` should work well.
#### Actual behavior
Gets "Detected stale connection to broker" and "Failed to write on connection" errors
#### Steps to reproduce
1. I have about 6 producer services(about 100 Pods) that produce messages to different Pulsar server clusters;
2. All the producers' `KeepAliveInterval` are set to default(30s), and the values of the servers are the same;
3. Print debug log and increase an error metrics counter;
4. Start to produce messages;
5. Monitor the debug log and metrics;
6. Gets "Detected stale connection to broker" and "Failed to write on connection" errors quite often;
7. Sets `KeepAliveInterval` to 15s, errors continue;
8. When `KeepAliveInterval` sets to 5s, errors stop.
#### System configuration
**Pulsar version**: v2.11.0
**Pulsar client go version**: v0.10.0
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] gunli commented on issue #1024: Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors
Posted by "gunli (via GitHub)" <gi...@apache.org>.
gunli commented on issue #1024:
URL: https://github.com/apache/pulsar-client-go/issues/1024#issuecomment-1574624234
<img width="1638" alt="image" src="https://github.com/apache/pulsar-client-go/assets/10734543/0c3657d7-56d8-480c-930c-c0ae962dc771">
errors we got.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] gunli commented on issue #1024: Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors
Posted by "gunli (via GitHub)" <gi...@apache.org>.
gunli commented on issue #1024:
URL: https://github.com/apache/pulsar-client-go/issues/1024#issuecomment-1575967422

It seems set to 5s still errors
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors [pulsar-client-go]
Posted by "gunli (via GitHub)" <gi...@apache.org>.
gunli closed issue #1024: Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors
URL: https://github.com/apache/pulsar-client-go/issues/1024
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors [pulsar-client-go]
Posted by "kaviyakrishnamoorthy (via GitHub)" <gi...@apache.org>.
kaviyakrishnamoorthy commented on issue #1024:
URL: https://github.com/apache/pulsar-client-go/issues/1024#issuecomment-1924227319
is it resolved?how do we resolve this issue?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] gunli commented on issue #1024: Default KeepAliveInterval gets "Detected stale connection to broker" and "Failed to write on connection" errors
Posted by "gunli (via GitHub)" <gi...@apache.org>.
gunli commented on issue #1024:
URL: https://github.com/apache/pulsar-client-go/issues/1024#issuecomment-1574623314
<img width="1296" alt="image" src="https://github.com/apache/pulsar-client-go/assets/10734543/457e741e-6189-43e3-a950-17f120fc20d2">
errors are very often when `KeepAliveInterval ` are set to 15s or longer, and errors stops after `KeepAliveInterval ` are set to 5s.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org