eclipse-paho / eclipse-paho/paho.mqtt.java

The MqttAsyncClient set the number of executorService cores-thread to less than three lead to java.io.EOFException

Open
#914 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Please fill out the form below before submitting, thank you!

- [ ] Bug exists Release Version 1.2.5 ( Master Branch)

If the MqttAsyncClient set the number of executorService cores-thread to less than three
When call it's connect method , it will execute CommsCallback start method ,then this leads to a problem,Just like I drew it in the picture

截屏2022-02-26 上午1 12 33

Contributor guide

Open the contributing guide

Research direction

Start by tracing MqttAsyncClient.connect into CommsCallback.start, focusing on behavior when executorService has fewer than three cores. Reproduce the reported java.io.EOFException on release 1.2.5 or the master branch; done means the connection no longer fails under that configuration and the relevant behavior is covered by verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.