Vancior commented on code in PR #20263: URL: https://github.com/apache/flink/pull/20263#discussion_r930546050
########## flink-python/pyflink/datastream/connectors/base.py: ########## @@ -52,6 +53,24 @@ def __init__(self, sink: Union[str, JavaObject]): super(Sink, self).__init__(sink) +class TransformAppender(ABC): + + @abstractmethod + def apply(self, ds): + pass + + +class PreTransformWrapper(ABC): + + @abstractmethod + def need_pre_transform(self) -> bool: Review Comment: This is still needed that a sink implementing `SupportsPreprocessing` may not require preprocessing, e.g. `KafkaSink` doesn't need preprocessing when using fixed topic. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org