healchow commented on code in PR #7514: URL: https://github.com/apache/inlong/pull/7514#discussion_r1125448295
########## inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/pulsar/PulsarHandler.java: ########## @@ -282,8 +282,6 @@ private CompressionType getPulsarCompressionType() { switch (type) { case "LZ4": return CompressionType.LZ4; - case "NONE": Review Comment: I guess it's better to move the `case "NONE"` line above the `default` line. -- 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