GitHub user huxihx opened a pull request:
https://github.com/apache/kafka/pull/3223
KAFKA-5098: KafkaProducer.send() should validate topic name before sending
KafkaProducer.send() should check topic name before sending the record.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/huxihx/kafka
KAFKA-5098_Does_not_check_topic_name_before_sending
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3223.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 #3223
----
commit b457518b55f8f7c32ca5e6849fa4052b596c98e1
Author: huxihx <[email protected]>
Date: 2017-06-03T06:50:05Z
KAFKA-5098: KafkaProducer.send() blocks and generates TimeoutException if
topic name has illegal char
Validate topic name before sending the record
----
---
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.
---