liunaijie commented on code in PR #5084:
URL: https://github.com/apache/seatunnel/pull/5084#discussion_r1390640471


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/java/org/apache/seatunnel/e2e/connector/kafka/KafkaIT.java:
##########
@@ -292,6 +293,30 @@ public void testSourceKafkaStartConfig(TestContainer 
container)
         testKafkaGroupOffsetsToConsole(container);
     }
 
+    @TestTemplate
+    @DisabledOnContainer(TestContainerId.SPARK_2_4)
+    public void testFakeSourceToKafkaAvroFormat(TestContainer container)
+            throws IOException, InterruptedException {
+        Container.ExecResult execResult =
+                
container.executeJob("/avro/fake_source_to_kafka_avro_format.conf");
+        Assertions.assertEquals(0, execResult.getExitCode(), 
execResult.getStderr());
+    }
+
+    @TestTemplate
+    @DisabledOnContainer(TestContainerId.SPARK_2_4)
+    public void testKafkaAvroToConsole(TestContainer container)
+            throws IOException, InterruptedException {
+        DefaultSeaTunnelRowSerializer serializer =
+                DefaultSeaTunnelRowSerializer.create(
+                        "test_avro_topic",
+                        SEATUNNEL_ROW_TYPE,
+                        MessageFormat.AVRO,
+                        DEFAULT_FIELD_DELIMITER);
+        generateTestData(row -> serializer.serializeRow(row), 0, 100);

Review Comment:
   hi @zhilinli123, i use a method in `KafkaIT` and also `KafKaIT` has other 
format e2e test like json, text. so i don't want move to `KafkaFormatIT`.



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