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


##########
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:
   Thans,i will modify it.
   https://github.com/apache/incubator-seatunnel/pull/2863 This pr does not 
conflict with the current pr, because this is the doc of the connector V1 
version.



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