healchow commented on code in PR #6184:
URL: https://github.com/apache/inlong/pull/6184#discussion_r995466764
##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sinks/SenderManager.java:
##########
@@ -62,6 +62,7 @@ public class SenderManager {
private static final Logger LOGGER =
LoggerFactory.getLogger(SenderManager.class);
private static final SequentialID SEQUENTIAL_ID =
SequentialID.getInstance();
private static final AtomicInteger SENDER_INDEX = new AtomicInteger(0);
+ private static final String PROTOCOL_TYPE_TCP = "tcp";
Review Comment:
Suggest move the `org.apache.inlong.manager.common.consts.ProtocolType` to
inlong-common(`org.apache.inlong.common.constant`), and use it in Agent,
DataProxy, etc.
--
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]