farisbasha opened a new pull request, #4628:
URL: https://github.com/apache/flink-cdc/pull/4628
## What is the purpose of this pull request?
The Postgres CDC source docs (`flink-sources/postgres-cdc.md`, English and
Chinese) list the connection pool option as `connect.pool.size` with a default
of `30`. `PostgreSQLTableFactory` reads
`PostgresSourceOptions.CONNECTION_POOL_SIZE`, which is inherited from
`JdbcSourceOptions`:
```java
ConfigOptions.key("connection.pool.size").intType().defaultValue(20)
```
So the documented key is not an option the factory accepts, and the default
differs. The MySQL CDC docs and the Postgres pipeline connector docs already
show `connection.pool.size` / `20`.
## Brief change log
- Rename the option to `connection.pool.size` and set its default to `20` in
the English and Chinese Postgres CDC source docs.
---
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
(Docs only; checked against `JdbcSourceOptions.java` and the
imports/`optionalOptions()` in `PostgreSQLTableFactory.java`.)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code (Claude Opus 5.5)
--
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]