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


##########
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 mean change it to this:
   
   ```java
               case "NONE":
               default:
                   return CompressionType.NONE;
   ```
   
   The advantage is that it can be clearly pointed out that we also support the 
`"NONE"` configuration item.



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