Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-32222] avoid using non-public DataInputDeserializer and DataOutputSerializer. Remove overkill ThreadLocal cache. Update archunit violations #16

Conversation

echauchot
Copy link
Contributor

Linked to this PR:

  • Removed non public classes usages except Preconditions, VisibleForTesting and ClosureCleaner for which violations are added here. I updated violations store in advance of the merge of the above PR that fixes the Connector rule.

  • Removed overkill ThreadLocal cache as the other similar connectors, don't cache Streams for Split serialization. This allows simpler and more standard serialization code.

@zentol PTAL ?

@echauchot echauchot requested a review from zentol June 5, 2023 14:10
@echauchot echauchot changed the title [FLINK-31806] avoid using non-public DataInputDeserializer and DataOutputSerializer. Remove overkill ThreadLocal cache. Update archunit violations [FLINK-32222] avoid using non-public DataInputDeserializer and DataOutputSerializer. Remove overkill ThreadLocal cache. Update archunit violations Jun 5, 2023
…tputSerializer. Remove overkill ThreadLocal cache. Update archunit violations
@echauchot echauchot force-pushed the FLINK-31806-avoid-non-public-api-usage branch from 2fe21af to c2d7dc3 Compare June 5, 2023 14:37
@echauchot echauchot closed this Jun 5, 2023
@echauchot echauchot deleted the FLINK-31806-avoid-non-public-api-usage branch June 5, 2023 14:44
@echauchot
Copy link
Contributor Author

closing this PR because ticket number is incorrect. For jira ticket linking, re-submitting the same PR with correct ticket number as renaming does not update the PR link in jira.

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.

1 participant