lightzhao commented on code in PR #4494:
URL: https://github.com/apache/seatunnel/pull/4494#discussion_r1273142646
##########
seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceReader.java:
##########
@@ -150,8 +160,27 @@ public void pollNext(Collector<SeaTunnelRow> output)
throws Exception {
recordList) {
try {
-
deserializationSchema.deserialize(
-
record.value(), output);
+ if
(StringUtils.isBlank(rowDelimiter)) {
Review Comment:
You are right, the premise is that the content of the message cannot contain
newline symbols, otherwise there will be wrong parsing, in fact, the same
problem will occur in the text format.
--
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]