Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sendRequestWithId to add timeout to hasMessageAvailable #11600

Conversation

Sunny-Island
Copy link
Contributor

Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

Modifications

Use sendRequestWithId instead if sendCommand, and former will get OperationTimeout.

@BewareMyPower BewareMyPower added release/2.8.1 type/bug The PR fixed a bug or issue reported a bug labels Aug 9, 2021
@Sunny-Island Sunny-Island force-pushed the add-operationTimeOut-to-hasMessageAvailable branch from 5f07386 to 767250f Compare August 9, 2021 06:55
@BewareMyPower BewareMyPower merged commit 66a2b50 into apache:master Aug 9, 2021
LeBW pushed a commit to LeBW/pulsar that referenced this pull request Aug 9, 2021
…1600)

### Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

### Modifications

Use `sendRequestWithId` instead if `sendCommand`, and former will get `OperationTimeout`.
codelipenghui pushed a commit that referenced this pull request Aug 11, 2021
### Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

### Modifications

Use `sendRequestWithId` instead if `sendCommand`, and former will get `OperationTimeout`.

(cherry picked from commit 66a2b50)
codelipenghui pushed a commit that referenced this pull request Aug 11, 2021
### Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

### Modifications

Use `sendRequestWithId` instead if `sendCommand`, and former will get `OperationTimeout`.

(cherry picked from commit 66a2b50)
@codelipenghui codelipenghui added cherry-picked/branch-2.7 Archived: 2.7 is end of life cherry-picked/branch-2.8 Archived: 2.8 is end of life labels Aug 11, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
…1600)

### Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

### Modifications

Use `sendRequestWithId` instead if `sendCommand`, and former will get `OperationTimeout`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client cherry-picked/branch-2.7 Archived: 2.7 is end of life cherry-picked/branch-2.8 Archived: 2.8 is end of life release/2.7.4 release/2.8.1 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants