You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/09/08 07:47:16 UTC

[GitHub] [inlong] xuesongxs commented on a diff in pull request #5831: [INLONG-5830][DataProxy] Fix required parameter topic exception

xuesongxs commented on code in PR #5831:
URL: https://github.com/apache/inlong/pull/5831#discussion_r965618593


##########
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/http/HttpBaseSource.java:
##########
@@ -117,10 +117,7 @@ public void configure(Context context) {
 
         topic = context.getString(ConfigConstants.TOPIC);
         attr = context.getString(ConfigConstants.ATTR);
-        Configurables.ensureRequiredNonNull(context, ConfigConstants.TOPIC, ConfigConstants.ATTR);

Review Comment:
   > How to handle the message if the topic is empty and not checked?
   
   Use the topic in the topics.properties file to handle the message, instead of using the topic field in the dataproxy-mulit-pulsar-http-example.conf file.



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