dengziming opened a new pull request #10250:
URL: https://github.com/apache/kafka/pull/10250
*More detailed description of your change*
Found that the `fatalException` is always null when calling `log.info("xxx",
fatalException)`, maybe we should first assign a value to it.
*Summary of testing strategy (including rationale)*
Test locally.
from
```
[2021-03-03 10:18:06,203] INFO FindCoordinator request hit fatal exception
(org.apache.kafka.clients.consumer.internals.AbstractCoordinatorTest$DummyCoordinator:260)
```
to
```
[2021-03-03 10:17:37,123] INFO FindCoordinator request hit fatal exception
(org.apache.kafka.clients.consumer.internals.AbstractCoordinatorTest$DummyCoordinator:260)
org.apache.kafka.common.errors.AuthenticationException: Authentication failed
```
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]