Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
Currently we have XmlSource and XmlSink in the Java SDK. They violate the PTransform style guide in several respects:
- They should be grouped into an XmlIO class with read() and write() verbs, like all the other similar connectors
- The source/sink classes should be made private or package-local
- Should get rid of XmlSink.Bound - XmlSink itself should inherit from FileBasedSink
- Could optionally benefit from AutoValue
See e.g. the PR with BigQuery fixes https://github.com/apache/beam/pull/2149
Attachments
Issue Links
- is part of
-
BEAM-1353 Beam should comply with PTransform style guide
- Resolved
- links to