You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by lisa2lisa <gi...@git.apache.org> on 2017/12/14 15:35:45 UTC
[GitHub] kafka pull request #4325: Check null message
GitHub user lisa2lisa opened a pull request:
https://github.com/apache/kafka/pull/4325
Check null message
When enable the trace level log in mirror maker, the message could contain null value, and this will throw null pointer exception.
*Summary of testing strategy (including rationale)
1. Create message contain null value and normal message
2. Passing throw testing case
3. and make sure don't not throw any thing
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lisa2lisa/kafka check_null_message
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4325.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4325
----
commit 3dd5b46e3d8dabf201f86338fc843444dfe6022b
Author: Xin Li <xi...@trivago.com>
Date: 2017-12-14T07:26:34Z
log should check null pointer exception, because message value could be null
commit 35f03b71184abfa93ecd556b43f6cdcca0035137
Author: Xin Li <xi...@trivago.com>
Date: 2017-12-14T15:00:49Z
update
----
---