zhilinli123 commented on code in PR #5992:
URL: https://github.com/apache/seatunnel/pull/5992#discussion_r1537494514


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/serialization/DeserializationSchema.java:
##########
@@ -34,12 +35,30 @@ public interface DeserializationSchema<T> extends 
Serializable {
      */
     T deserialize(byte[] message) throws IOException;
 
+    /**
+     * Deserializes the byte message.
+     *
+     * @param message The message, as a byte array.
+     * @param tablePath The Registry name.
+     * @return The deserialized message as an SeaTunnel Row (null if the 
message cannot be
+     *     deserialized).
+     */
+    T deserialize(byte[] message, TablePath tablePath) throws IOException;

Review Comment:
   > Can’t we distinguish table formats through record topic?
   
   Currently pr supports that each topic can specify a different format
   
![image](https://github.com/apache/seatunnel/assets/76689593/986221d7-bb44-4c9d-a071-d17ee83db724)
   



##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/resources/multiFormatIT/kafka_multi_source_to_assert.conf:
##########
@@ -0,0 +1,69 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+######
+###### This config file is a demonstration of streaming processing in 
seatunnel config
+######
+
+env {
+  execution.parallelism = 1
+  job.mode = "BATCH"
+}
+
+source {
+  Kafka {
+    bootstrap.servers = "kafka_e2e:9092"
+    topic_list = [

Review Comment:
   > 
   
   done



-- 
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]

Reply via email to