GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/2689
MINOR: Make ProduceRequest thread-safe
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka produce-request-thread-safety
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2689.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 #2689
----
commit 8cb363b98b0a01952ec7bfe8c5a387796994eb6b
Author: Ismael Juma <[email protected]>
Date: 2017-03-15T13:23:28Z
MINOR: Make ProduceRequest thread-safe
If request logging is enabled, it can be accessed concurrently
from a network thread (which calls `toString`) and the
request handler thread (which calls `clearPartitionRecords()`).
commit 2c5243a37166b5a2d8996e5554862e97ce70a6ee
Author: Ismael Juma <[email protected]>
Date: 2017-03-15T13:23:58Z
Tweak formatting of `KafkaApis.handleProduceRequest`
More consistent line length usage.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---