justinwwhuang commented on code in PR #11299: URL: https://github.com/apache/inlong/pull/11299#discussion_r1793001456
########## inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/PulsarSource.java: ########## @@ -68,8 +69,12 @@ protected void initSource(InstanceProfile profile) { topic = profile.getInstanceId(); serviceUrl = profile.get(TASK_PULSAR_SERVICE_URL); subscription = profile.get(TASK_PULSAR_SUBSCRIPTION, PULSAR_SUBSCRIPTION_PREFIX + inlongStreamId); - subscriptionPosition = profile.get(TASK_PULSAR_SUBSCRIPTION_POSITION, - SubscriptionInitialPosition.Latest.name()); + String position = profile.get(TASK_PULSAR_SUBSCRIPTION_POSITION, SubscriptionInitialPosition.Latest.name()); + if (position.equals(SUBSCRIPTION_CUSTOM)) { Review Comment: > what does `SUBSCRIPTION_CUSTOM` mean? Subscribe to data at a specified time -- 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-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org