mirror of https://github.com/apache/kafka.git
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:
parent
fbac525c08
commit
2790d0cb1f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue