healchow commented on code in PR #5690:
URL: https://github.com/apache/inlong/pull/5690#discussion_r954536356


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/source/pulsar/PulsarSourceOperator.java:
##########
@@ -142,6 +142,10 @@ public Map<String, List<StreamSource>> 
getSourcesMap(InlongGroupInfo groupInfo,
                         && 
StringUtils.isNotEmpty(sourceInfo.getSerializationType())) {
                     
pulsarSource.setSerializationType(sourceInfo.getSerializationType());
                 }
+                if 
(DataTypeEnum.CSV.getName().equalsIgnoreCase(pulsarSource.getSerializationType()))
 {

Review Comment:
   Suggested move to the out of `for` loop.



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

Reply via email to