MINOR: Changed port of bootstrap server to default

Kafka is typically running on port 9092. The example named a different port what makes it difficult to run a bootstrap example without any further configuration.

Author: Rafael Winterhalter <rafael.wth@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #1074 from raphw/trunk
This commit is contained in:
Rafael Winterhalter 2016-04-26 11:52:33 -07:00 committed by Ismael Juma
parent fbac525c08
commit 2790d0cb1f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ import org.slf4j.LoggerFactory;
* <pre>
* {@code
* Properties props = new Properties();
* props.put("bootstrap.servers", "localhost:4242");
* props.put("bootstrap.servers", "localhost:9092");
* props.put("acks", "all");
* props.put("retries", 0);
* props.put("batch.size", 16384);