[
https://issues.apache.org/jira/browse/KAFKA-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Schofield resolved KAFKA-18197.
--------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
> Check if nodeToSend is null before sending ShareAcknowledge.
> ------------------------------------------------------------
>
> Key: KAFKA-18197
> URL: https://issues.apache.org/jira/browse/KAFKA-18197
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Shivsundar R
> Assignee: Shivsundar R
> Priority: Major
> Fix For: 4.0.0
>
>
> There is a minor bug when we are building a ShareAcknowledge request. We
> might get a null response forĀ
> {code:java}
> Node nodeToSend = metadata.fetch().nodeById(nodeId);{code}
> We need to add a check to prevent a null pointer exception for the same.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)