You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone facing similar issue?
I'm using following to close the consumer connection. The callback gives no error. consumer.close(true, callback)
The text was updated successfully, but these errors were encountered:
kumar-b
changed the title
after close is called throws uncaughtException: write after end
after close is called, throws uncaughtException: write after end
Jul 26, 2016
Do you use the same client for multiple consumers, or are you also calling client.close(cb)?
I had the same issue and found that consumer.close also calls client.close. Therefore when the client is closed before the consumer finished committing the offsets, the write after end error will occur.
Here is the stack trace of the uncaught exception.
Anyone facing similar issue?
I'm using following to close the consumer connection. The callback gives no error.
consumer.close(true, callback)
The text was updated successfully, but these errors were encountered: