becketqin commented on a change in pull request #8535: [FLINK-11693] Add
KafkaSerializationSchema that uses ProducerRecord
URL: https://github.com/apache/flink/pull/8535#discussion_r296130302
##########
File path:
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaConsumerTestBase.java
##########
@@ -1217,6 +1219,99 @@ public void flatMap(Tuple3<Integer, Integer, String>
value, Collector<Integer> o
}
}
+ /**
+ * Test producing and consuming into multiple topics.
+ * @throws Exception
+ */
+ public void runProduceConsumeMultipleTopicsWithKafkaSerializer() throws
Exception {
Review comment:
Can we avoid duplicating the test code by doing the following?
1. have a private method taking schema as an argument.
2. let `runProduceConsumeMultipleTopicsWithKafkaSerializer` and
`runProduceConsumeMultipleTopicsWithLegacySerializer` call that method and pass
in different schema?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services