TaoZex commented on code in PR #2866:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2866#discussion_r979586372


##########
seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/sink/KafkaSinkWriter.java:
##########
@@ -136,7 +136,7 @@ private Properties getKafkaProperties(Config pluginConfig) {
 
     // todo: parse the target field from config
     private SeaTunnelRowSerializer<byte[], byte[]> getSerializer(Config 
pluginConfig, SeaTunnelRowType seaTunnelRowType) {
-        return new 
DefaultSeaTunnelRowSerializer(pluginConfig.getString("topics"), 
seaTunnelRowType);
+        return new 
DefaultSeaTunnelRowSerializer(pluginConfig.getString("topic"), 
seaTunnelRowType);

Review Comment:
   Thanks.



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