yzeng1618 commented on code in PR #10557: URL: https://github.com/apache/seatunnel/pull/10557#discussion_r2934579954
########## docs/en/connectors/source/Rabbitmq.md: ########## @@ -91,17 +92,21 @@ the exchange to publish the message to #### fields [Config] -the schema fields of upstream data. For more details, please refer to [Schema Feature](../../introduction/concepts/schema-feature.md). +the schema fields of upstream data. For more details, please refer to [Schema Feature](../../introduction/concepts/schema-feature.md). *Note: Required if `tables_configs` is not configured.* + +### tables_configs [array] + +Used to read from multiple queues simultaneously. Each object in the array must contain a queue_name and a schema. ### network_recovery_interval [int] how long will automatic recovery wait before attempting to reconnect, in ms -### topology_recovery [string] +### topology_recovery [boolean] Review Comment: Historical issues; please also help keep the parameter values consistent. ########## docs/zh/connectors/source/Rabbitmq.md: ########## @@ -91,17 +92,21 @@ import ChangeLog from '../changelog/connector-rabbitmq.md'; #### fields [Config] -上游数据的模式字段。更多详情请参考 [Schema 特性](../../introduction/concepts/schema-feature.md)。 +上游数据的模式字段。更多详情请参考 [Schema 特性](../../introduction/concepts/schema-feature.md)。*注意:如果未配置 `tables_configs`,则为必填项。* + +### tables_configs [array] + +您可以使用 `tables_configs` 选项在一个作业中同时从多个 RabbitMQ 队列消费消息。连接器将根据消息来源的队列自动为每行数据分配正确的表标识符,允许您使用 `plugin_input` 将它们路由到不同的 sink。 Review Comment: The description for tables_configs in the parameter table is missing the constraint that each object must contain a queue_name and a schema. I'll align it with the English version. ########## docs/en/connectors/source/Rabbitmq.md: ########## @@ -91,17 +92,21 @@ the exchange to publish the message to #### fields [Config] -the schema fields of upstream data. For more details, please refer to [Schema Feature](../../introduction/concepts/schema-feature.md). +the schema fields of upstream data. For more details, please refer to [Schema Feature](../../introduction/concepts/schema-feature.md). *Note: Required if `tables_configs` is not configured.* + +### tables_configs [array] + +Used to read from multiple queues simultaneously. Each object in the array must contain a queue_name and a schema. ### network_recovery_interval [int] how long will automatic recovery wait before attempting to reconnect, in ms -### topology_recovery [string] +### topology_recovery [boolean] if true, enables topology recovery -### automatic_recovery [string] +### automatic_recovery [boolean] Review Comment: ditto -- 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]
