Update managed-io.md for release 2.74.0-RC1#38527
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the Managed IO documentation for the Apache Beam 2.74.0-RC1 release. The changes primarily involve adding new configuration options for various IO connectors and correcting existing documentation to accurately reflect the current capabilities and parameter requirements for supported databases and services. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the Managed IO documentation by adding new configuration parameters for Iceberg, such as autosharding, distribution_mode, and sort_fields. It also reorganizes the sections for Kafka, BigQuery, and various JDBC connectors to improve the structure. The review feedback highlights several opportunities to improve documentation quality, including replacing placeholder 'n/a' descriptions with meaningful content, ensuring consistent formatting for bootstrap servers, restoring missing schema details for Kafka, and fixing potential HTML rendering issues within table cells by using explicit line breaks.
| </td> | ||
| <td> | ||
| A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. | Format: host1:port1,host2:port2,... | ||
| A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. This list should be in the form `host1:port1,host2:port2,...` |
There was a problem hiding this comment.
The description format for bootstrap_servers here is inconsistent with the one used in the KAFKA Write section (line 590). It is better to use a consistent format across the documentation.
| A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. This list should be in the form `host1:port1,host2:port2,...` | |
| A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. | Format: host1:port1,host2:port2,... |
| </td> | ||
| <td> | ||
| The encoding format for the data stored in Kafka. Valid options are: RAW,JSON,AVRO,PROTO | ||
| n/a |
| </td> | ||
| <td> | ||
| If the redistribute is using offset deduplication mode. | ||
| n/a |
| </td> | ||
| <td> | ||
| The schema in which the data is encoded in the Kafka topic. For AVRO data, this is a schema defined with AVRO schema syntax (https://avro.apache.org/docs/1.10.2/spec.html#schemas). For JSON data, this is a schema defined with JSON-schema syntax (https://json-schema.org/). If a URL to Confluent Schema Registry is provided, then this field is ignored, and the schema is fetched from Confluent Schema Registry. | ||
| n/a |
There was a problem hiding this comment.
The description for schema has been replaced with "n/a", which is a regression from the previous version. It should be restored to provide necessary context for users.
| n/a | |
| The schema in which the data is encoded in the Kafka topic. For AVRO data, this is a schema defined with AVRO schema syntax (https://avro.apache.org/docs/1.10.2/spec.html#schemas). For JSON data, this is a schema defined with JSON-schema syntax (https://json-schema.org/). If a URL to Confluent Schema Registry is provided, then this field is ignored, and the schema is fetched from Confluent Schema Registry. |
| Defines distribution of write data. Supported distributions: | ||
| - none: don't shuffle rows (default) | ||
| - hash: shuffle rows by partition key before writing data |
There was a problem hiding this comment.
The markdown list inside the HTML <td> tag might not render correctly because it lacks proper indentation and line breaks. For consistency with other entries in this file, consider using <br> for line breaks and ensuring the list items are indented.
| Defines distribution of write data. Supported distributions: | |
| - none: don't shuffle rows (default) | |
| - hash: shuffle rows by partition key before writing data | |
| Defines distribution of write data. Supported distributions:<br> | |
| - none: don't shuffle rows (default)<br> | |
| - hash: shuffle rows by partition key before writing data |
| Fields used to set the table's sort order, applied when the table is created. Each entry has the form `<term> [asc|desc] [nulls first|nulls last]`, where `<term>` is a field name or one of the partition transforms (e.g. `bucket(col, 4)`, `day(ts)`). Direction defaults to ascending; null order defaults to nulls-first for ascending and nulls-last for descending. Note: this sets the table's declared sort order as metadata; it does not cause Beam to physically sort records before writing. | ||
| For more information on sort orders, please visit https://iceberg.apache.org/spec/#sort-orders. |
There was a problem hiding this comment.
There is a raw newline between the description and the link. This can cause rendering issues within an HTML table cell in some markdown processors. Consider using a <br> and maintaining consistent indentation.
| Fields used to set the table's sort order, applied when the table is created. Each entry has the form `<term> [asc|desc] [nulls first|nulls last]`, where `<term>` is a field name or one of the partition transforms (e.g. `bucket(col, 4)`, `day(ts)`). Direction defaults to ascending; null order defaults to nulls-first for ascending and nulls-last for descending. Note: this sets the table's declared sort order as metadata; it does not cause Beam to physically sort records before writing. | |
| For more information on sort orders, please visit https://iceberg.apache.org/spec/#sort-orders. | |
| Fields used to set the table's sort order, applied when the table is created. Each entry has the form `<term> [asc|desc] [nulls first|nulls last]`, where `<term>` is a field name or one of the partition transforms (e.g. `bucket(col, 4)`, `day(ts)`). Direction defaults to ascending; null order defaults to nulls-first for ascending and nulls-last for descending. Note: this sets the table's declared sort order as metadata; it does not cause Beam to physically sort records before writing.<br> | |
| For more information on sort orders, please visit https://iceberg.apache.org/spec/#sort-orders. |
| @@ -1076,17 +1104,6 @@ For more information on table properties, please visit https://iceberg.apache.or | |||
| n/a | |||
|
Assigning reviewers: R: @shunping for label website. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Content generated from release 2.74.0-RC1.