You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "ccoffline (via GitHub)" <gi...@apache.org> on 2026/02/25 02:53:24 UTC
[PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
ccoffline opened a new pull request, #10511:
URL: https://github.com/apache/seatunnel/pull/10511
<!--
Thank you for contributing to SeaTunnel! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
## Contribution Checklist
- Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/seatunnel/issues).
- Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
- Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
-->
### Purpose of this pull request
<!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
Fix the misleading `docker-compose.yaml`. Add ports to `ST_DOCKER_MEMBER_LIST` in order to match the port config in seatunnel (default `5801`).
### Does this PR introduce _any_ user-facing change?
<!--
Note that it means *any* user-facing change including all aspects such as the documentation fix.
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If possible, please also clarify if this is a user-facing change compared to the released SeaTunnel versions or within the unreleased branches such as dev.
If no, write 'No'.
If you are adding/modifying connector documents, please follow our new specifications: https://github.com/apache/seatunnel/issues/4544.
-->
### How was this patch tested?
<!--
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
If you are adding E2E test cases, maybe refer to https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/resources/mysqlcdc_to_mysql.conf, here is a good example.
-->
### Check list
* [ ] If any new Jar binary package adding in your PR, please add License Notice according
[New License Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/contribution/new-license.md)
* [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
* [ ] If necessary, please update `incompatible-changes.md` to describe the incompatibility caused by this PR.
* [ ] If you are contributing the connector code, please check that the following files are updated:
1. Update [plugin-mapping.properties](https://github.com/apache/seatunnel/blob/dev/plugin-mapping.properties) and add new connector information in it
2. Update the pom file of [seatunnel-dist](https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml)
3. Add ci label in [label-scope-conf](https://github.com/apache/seatunnel/blob/dev/.github/workflows/labeler/label-scope-conf.yml)
4. Add e2e testcase in [seatunnel-e2e](https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/)
5. Update connector [plugin_config](https://github.com/apache/seatunnel/blob/dev/config/plugin_config)
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10511:
URL: https://github.com/apache/seatunnel/pull/10511#issuecomment-4880072538
This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10511:
URL: https://github.com/apache/seatunnel/pull/10511#issuecomment-5013578390
This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
Posted by "DanielCarter-stack (via GitHub)" <gi...@apache.org>.
DanielCarter-stack commented on PR #10511:
URL: https://github.com/apache/seatunnel/pull/10511#issuecomment-3957033952
<!-- code-pr-reviewer -->
<!-- cpr:pr_reply_v2_parts {"group": "apache/seatunnel#10511", "part": 1, "total": 1} -->
### Issue 1: PR contains unrelated seatunnel.sh modifications
**Location**: `seatunnel-core/seatunnel-starter/src/main/bin/seatunnel.sh`
**Issue Description**:
The title and description of this PR both state it is "Fix the misleading docker-compose.yaml demo", which is a documentation fix. However, the git diff shows that `HEAD~2..HEAD` includes modifications to `seatunnel.sh`.
Analysis of the commit history reveals:
- `HEAD` (46af1c480): [Docs] Fix the misleading docker-compose.yaml demo (#10496)
- `HEAD~1` (e00a58249): [Fix][Zeta] Preserve job name containing spaces in seatunnel.sh (#10483)
This indicates that the direct parent commit of the current HEAD is another independent PR (#10483), which fixes the issue of handling job names with spaces in seatunnel.sh. However, this modification is completely unrelated to the current docker-compose.yaml documentation fix.
**Potential Risks**:
- PR scope is unclear, violating the "one PR does one thing" principle
- Code reviewers need to understand two unrelated changes
- If this PR is merged, the seatunnel.sh modifications will be merged together, but it has no separate review record on GitHub
- From the GitHub PR page, the seatunnel.sh modifications may not be visible (depending on how GitHub displays PRs that include parent commit changes)
**Impact Scope**:
- Direct impact: Behavior of the seatunnel.sh script
- Indirect impact: All users using the SeaTunnel command line
- Affected area: Core startup script
**Severity**: MAJOR
**Improvement Suggestions**:
These two changes should be separated into two independent PRs:
1. PR #10496: Contains only documentation modifications
2. PR #10483: Contains only seatunnel.sh modifications (this PR should already exist independently)
If PR #10483 has not been merged yet, the author should:
1. Rebase the current PR against the latest dev branch (without the seatunnel.sh modifications)
2. Or close this PR and create a new PR containing only the documentation modifications
**Confidence**: High - Git history clearly shows these are two separate commits
### Issue 2: Example comments in documentation may confuse users
**Location**: `docs/en/getting-started/docker/docker.md:352`
**Issue Description**:
In the cluster expansion example, the configuration item has a comment:
```yaml
- ST_DOCKER_MEMBER_LIST=172.16.0.2:5801,172.16.0.3:5801,172.16.0.4:5801,172.16.0.5:5801 # add ip to here
```
This comment says "add ip to here", but in reality users need to add the complete `ip:port` format, not just an IP. If users follow the comment and only add an IP (such as `172.16.0.5`), the configuration will error.
**Potential Risks**:
- Users may misunderstand the comment and only add an IP without adding the port
- This will cause the cluster to fail to work properly after expanding nodes
**Impact Scope**:
- Direct impact: Users attempting to expand their cluster following the documentation
- Indirect impact: Cluster deployment failure
- Affected area: Docker Compose cluster deployment users
**Severity**: MINOR
**Improvement Suggestions**:
Modify the comment to a more accurate description:
```yaml
- ST_DOCKER_MEMBER_LIST=172.16.0.2:5801,172.16.0.3:5801,172.16.0.4:5801,172.16.0.5:5801 # add new member address (ip:port) to here
```
Or explicitly state in the documentation that the complete `ip:port` address needs to be added.
**Confidence**: Medium - This is a potential confusion point, but not a serious error
### Issue 3: Inconsistent documentation comments between Chinese and English versions
**Location**:
- `docs/en/getting-started/docker/docker.md:352`
- `docs/zh/getting-started/docker/docker.md:345`
**Issue Description**:
The comment at the same location in the Chinese documentation is:
```yaml
- ST_DOCKER_MEMBER_LIST=172.16.0.2:5801,172.16.0.3:5801,172.16.0.4:5801,172.16.0.5:5801 # 添加ip到这里
```
The English comment is `# add ip to here`, and the Chinese comment is `# 添加ip到这里`. Both only say "add ip" without explaining that the complete address (including port) needs to be added.
**Potential Risks**:
- Both Chinese and English documentation have the same potential confusion issue
- Users may only add an IP and forget the port
**Impact Scope**:
- Direct impact: Users reading the documentation and attempting to expand the cluster
- Indirect impact: Configuration errors causing cluster formation failure
- Affected area: All users using Docker Compose to expand clusters
**Severity**: MINOR
**Improvement Suggestions**:
Update the comments in both Chinese and English documentation simultaneously to make them more accurate:
- English: `# add new member address (ip:port) here`
- Chinese: `# 在此处添加新成员地址`
**Confidence**: Medium - The comment is not precise enough, but not a serious issue
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo commented on PR #10511:
URL: https://github.com/apache/seatunnel/pull/10511#issuecomment-4005079332
Please open the CI check according to the instructions.https://github.com/apache/seatunnel/pull/10511/checks?check_run_id=64778538049
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Docs] Fix the misleading docker-compose.yaml demo (#10496) [seatunnel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #10511: [Docs] Fix the misleading docker-compose.yaml demo (#10496)
URL: https://github.com/apache/seatunnel/pull/10511
--
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org