yeralin commented on a change in pull request #6592:
URL: https://github.com/apache/kafka/pull/6592#discussion_r453892518



##########
File path: 
clients/src/main/java/org/apache/kafka/common/serialization/ListDeserializer.java
##########
@@ -131,20 +132,53 @@ private void configureInnerSerde(Map<String, ?> configs, 
boolean isKey) {
         }
     }
 
+    private SerializationStrategy parseSerializationStrategyFlag(final int 
serializationStrategyFlag) throws IOException {
+        if (serializationStrategyFlag < 0 || serializationStrategyFlag >= 
SerializationStrategy.VALUES.length) {
+            throw new SerializationException("Invalid serialization strategy 
flag value");
+        }
+        return SerializationStrategy.VALUES[serializationStrategyFlag];

Review comment:
       Make sure that the serialization flag is known to the application.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to