From 10127ec7aad6c8359759dfc4764dff70c3d49685 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 13 Dec 2019 14:27:45 -0500 Subject: [PATCH] Javadoc Polishing - only String-valued properties are used when overriding consumer properties via the container properties. --- .../org/springframework/kafka/listener/ConsumerProperties.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java index e747fda0..fc40ad12 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java @@ -292,6 +292,8 @@ public class ConsumerProperties { * provided by the consumer factory; properties here will supersede any with the same * name(s) in the consumer factory. * {@code group.id} and {@code client.id} are ignored. + * Property values must be {@link String}s; only properties returned by + * {@link Properties#stringPropertyNames()} will be applied. * @param kafkaConsumerProperties the properties. * @see org.apache.kafka.clients.consumer.ConsumerConfig * @see #setGroupId(String)