Skip to content

Conversation

proletarians
Copy link
Contributor

For historical reasons, the current implementation does not utilize the Source to build a schema cache. This requires the TransformOperator to maintain its own complex state.

An optimization is proposed: to build a reusable schema cache at the Source (or in an operator immediately following it).

The primary benefit of this approach is that the transform operator can be made completely stateless. This simplifies its design, improves architectural modularity, and makes the entire pipeline more robust and maintainable.

@lvyanquan
Copy link
Contributor

Please rebase master to solve the conflict.

@proletarians proletarians force-pushed the contribute-to-community branch from e470436 to 3e9f9ec Compare August 8, 2025 01:45
@lvyanquan lvyanquan added the 3.5 label Aug 14, 2025
Copy link
Contributor

@lvyanquan lvyanquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lvyanquan lvyanquan merged commit d0fe46c into apache:master Aug 15, 2025
57 of 59 checks passed
Mrart pushed a commit to Mrart/flink-cdc that referenced this pull request Aug 19, 2025
…it and Make transform operator stateless (apache#4056)

Co-authored-by: wuzexian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants