lhyundeadsoul commented on code in PR #2041:
URL:
https://github.com/apache/incubator-seatunnel/pull/2041#discussion_r915006167
##########
seatunnel-connectors/seatunnel-connectors-seatunnel/seatunnel-connector-seatunnel-common/src/main/java/org/apache/seatunnel/connectors/seatunnel/common/source/SingleSplitReaderContext.java:
##########
@@ -15,23 +15,23 @@
* limitations under the License.
*/
-package org.apache.seatunnel.connectors.seatunnel.fake.source;
+package org.apache.seatunnel.connectors.seatunnel.common.source;
-import org.apache.seatunnel.api.source.SourceSplit;
+import org.apache.seatunnel.api.source.Boundedness;
+import org.apache.seatunnel.api.source.SourceReader;
-public class FakeSourceSplit implements SourceSplit {
+public class SingleSplitReaderContext {
Review Comment:
> `ParallelReaderContext` belongs to the *translation* module, and the
*translation* module can define how to translate the api to the source of the
engine (that is, how the reader and the enumerator interact is determined by
the engine, etc.);
>
> `SingleSplitReaderContext` belongs to the *connector* module, and it
cannot define how the `Context` actually works.
Thx for your explanation. I can better understand translation module
--
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]