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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]