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

Increasing timeout for pulsar client io threads to shutdown #8316

Merged

Conversation

jerrypeng
Copy link
Contributor

Motivation

We need to make a best effort to shutdown all threads when close() is on a pulsar client. If threads spawned by a client are not shutdown when close() returns, this may lead to classloading exceptions/issues if pulsar JARs are unloaded afterwards like the case in a Flink job.

Modifications

Increase the wait time for IO threads in the pulsar client to shutdown.

@jerrypeng jerrypeng added this to the 2.7.0 milestone Oct 20, 2020
@jerrypeng jerrypeng self-assigned this Oct 20, 2020
@jerrypeng jerrypeng requested review from merlimat and removed request for srkukarni October 20, 2020 21:43
@sijie sijie merged commit ace3087 into apache:master Oct 22, 2020
wolfstudy pushed a commit that referenced this pull request Oct 30, 2020
### Motivation

We need to make a best effort to shutdown all threads when close() is on a pulsar client.  If threads spawned by a client are not shutdown when close() returns, this may lead to classloading exceptions/issues if pulsar JARs are unloaded afterwards like the case in a Flink job.

### Modifications

 Increase the wait time for IO threads in the pulsar client to shutdown.


(cherry picked from commit ace3087)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
)

### Motivation

We need to make a best effort to shutdown all threads when close() is on a pulsar client.  If threads spawned by a client are not shutdown when close() returns, this may lead to classloading exceptions/issues if pulsar JARs are unloaded afterwards like the case in a Flink job.

### Modifications

 Increase the wait time for IO threads in the pulsar client to shutdown.
flowchartsman pushed a commit to flowchartsman/pulsar that referenced this pull request Nov 17, 2020
)

### Motivation

We need to make a best effort to shutdown all threads when close() is on a pulsar client.  If threads spawned by a client are not shutdown when close() returns, this may lead to classloading exceptions/issues if pulsar JARs are unloaded afterwards like the case in a Flink job.

### Modifications

 Increase the wait time for IO threads in the pulsar client to shutdown.
merlimat pushed a commit to merlimat/pulsar that referenced this pull request Dec 19, 2020
)

### Motivation

We need to make a best effort to shutdown all threads when close() is on a pulsar client.  If threads spawned by a client are not shutdown when close() returns, this may lead to classloading exceptions/issues if pulsar JARs are unloaded afterwards like the case in a Flink job.

### Modifications

 Increase the wait time for IO threads in the pulsar client to shutdown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants