You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "wangpeix (via GitHub)" <gi...@apache.org> on 2023/04/10 12:43:17 UTC

[GitHub] [inlong] wangpeix commented on a diff in pull request #7808: [INLONG-7783][Agent] Support sink data tor Kafka

wangpeix commented on code in PR #7808:
URL: https://github.com/apache/inlong/pull/7808#discussion_r1161689997


##########
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/constant/AgentConstants.java:
##########
@@ -171,12 +171,26 @@ public class AgentConstants {
     public static final String DEFAULT_COMPRESSION_TYPE = "NONE";
 
     public static final String PULSAR_CLIENT_PRODUCER_NUM = "agent.sink.pulsar.producer.num";
+    public static final String KAFKA_SINK_PRODUCER_NUM = "agent.sink.kafka.producer.num";

Review Comment:
   The usage of pulsar and kafka is different. To send data using pulsar, need to first create a client; Sending data using Kafka does not require creating a client, just creating a producer. In Kafka, not using the `CLIENT` variable name may be more suitable.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org