mas-chen commented on code in PR #20: URL: https://github.com/apache/flink-connector-kafka/pull/20#discussion_r1231665787
########## docs/content/docs/connectors/datastream/kafka.md: ########## @@ -466,6 +466,28 @@ client dependencies in the job JAR, so you may need to rewrite it with the actua For detailed explanations of security configurations, please refer to <a href="https://kafka.apache.org/documentation/#security">the "Security" section in Apache Kafka documentation</a>. +## Kafka Rack Awareness + +Kafka Rack Awareness allows flink to select and control the cloud region and availability zone configured by the use of rackId, this feature could allow a significant cost reduction in the cloud provider bill and achieve a better networking performance when connecting to closer and more reliable networks. + +### RackId + +setRackId is the variable where the desired or available availability zones get stored. If provided, the Supplier will be run when the consumer is set up on the Task Manager, and the consumer's client.rack configuration will be set to the value. Review Comment: This section could less verbose--you can briefly describe how the rackId is set via the supplier without going too deep into the implementation and briefly mention example suppliers. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org