THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If sender thread calls close(), it will block forever. So in if a close() we will check if the current thread is sender thread. If it iscall is called from sender thread, an error message will be logged and close(-1) will be executedput in the log and sender thread will be blocked forever. This is to:
- Keep the current behaviour unchanged.
- Let user to notice that something went wrong because producer does not close.
Compatibility, Deprecation, and Migration Plan
...