Shoothzj commented on code in PR #17981:
URL: https://github.com/apache/pulsar/pull/17981#discussion_r991854347


##########
site2/docs/io-kafka-sink.md:
##########
@@ -17,13 +17,20 @@ 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. |
+|  `securityProtocol` |String| false | " " (empty string) | The protocol used 
to communicate with Kafka brokers. |
+|  `saslMechanism` |String| false | " " (empty string) | The SASL mechanism 
used for Kafka client connections. |
+|  `saslJaasConfig` |String| false | " " (empty string) | The JAAS login 
context parameters for SASL connections in the format used by JAAS 
configuration files. |
+|  `sslEnabledProtocols` |String| false | " " (empty string) | The list of 
protocols enabled for SSL connections. |
+|  `sslEndpointIdentificationAlgorithm` |String| false | " " (empty string) | 
The endpoint identification algorithm to validate server hostnames using a 
server certificate. |
+|  `sslTruststoreLocation` |String| false | " " (empty string) | The location 
of the trust store file. |
+|  `sslTruststorePassword` |String| false | " " (empty string) | The password 
of the trust store file. |
 |`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.
 | `keyDeserializationClass` | String|false | 
org.apache.kafka.common.serialization.StringSerializer | The serializer class 
for Kafka producers to serialize keys.
 | `valueDeserializationClass` | String|false | 
org.apache.kafka.common.serialization.ByteArraySerializer | The serializer 
class for Kafka producers to serialize values.<br /><br />The serializer is set 
by a specific implementation of 
[`KafkaAbstractSink`](https://github.com/apache/pulsar/blob/master/pulsar-io/kafka/src/main/java/org/apache/pulsar/io/kafka/KafkaAbstractSink.java).
-|`producerConfigProperties`|Map|false|" " (empty string)|The producer 
configuration properties to be passed to producers. <br /><br />**Note:  other 
properties specified in the connector configuration file take precedence over 
this configuration**.
+|`producerConfigProperties`|Map|false|" " (empty string)|The producer 
configuration properties to be passed to producers. <br /><br />**Note: other 
properties specified in the connector configuration file take precedence over 
this configuration**.
 
 
 ### Example

Review Comment:
   @momo-jun IMO, the examples doesn't need change. People can config 
`security.protocol` in `producerConfigProperties` or directly config 
`securityProtocol `.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to