Skip to content

Commit

Permalink
Fix typo: replace property ack with acks in docs for the Kafka si…
Browse files Browse the repository at this point in the history
…nk (apache#6316)

Fixes apache#6312 

### Motivation
The docs for the Kafka sink have a typo in one of the property names: `ack` should be `acks`

### Modifications
- Fixed the above typo in the unversioned docs
- Fixed the above typo in the versioned docs

### Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
  • Loading branch information
jrpilat committed Feb 12, 2020
1 parent 22d7824 commit 73986aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site2/docs/io-kafka-sink.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The configuration of the Kafka sink connector has the following parameters.
| Name | Type| Required | Default | Description
|------|----------|---------|-------------|-------------|
| `bootstrapServers` |String| true | " " (empty string) | A comma-separated list of host and port pairs for establishing the initial connection to the Kafka cluster. |
|`ack`|String|true|" " (empty string) |The number of acknowledgments that the producer requires the leader to receive before a request completes. <br/>This controls the durability of the sent records.
|`acks`|String|true|" " (empty string) |The number of acknowledgments that the producer requires the leader to receive before a request completes. <br/>This controls the durability of the sent records.
|`batchsize`|long|false|16384L|The batch size that a Kafka producer attempts to batch records together before sending them to brokers.
|`maxRequestSize`|long|false|1048576L|The maximum size of a Kafka request in bytes.
|`topic`|String|true|" " (empty string) |The Kafka topic which receives messages from Pulsar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The configuration of the Kafka sink connector has the following parameters.
| Name | Type| Required | Default | Description
|------|----------|---------|-------------|-------------|
| `bootstrapServers` |String| true | " " (empty string) | A comma-separated list of host and port pairs for establishing the initial connection to the Kafka cluster. |
|`ack`|String|true|" " (empty string) |The number of acknowledgments that the producer requires the leader to receive before a request completes. <br/>This controls the durability of the sent records.
|`acks`|String|true|" " (empty string) |The number of acknowledgments that the producer requires the leader to receive before a request completes. <br/>This controls the durability of the sent records.
|`batchsize`|long|false|16384L|The batch size that a Kafka producer attempts to batch records together before sending them to brokers.
|`maxRequestSize`|long|false|1048576L|The maximum size of a Kafka request in bytes.
|`topic`|String|true|" " (empty string) |The Kafka topic which receives messages from Pulsar.
Expand Down

0 comments on commit 73986aa

Please sign in to comment.