Skip to content

Commit 10127ec

Browse files
committed
Javadoc Polishing
- only String-valued properties are used when overriding consumer properties via the container properties.
1 parent 09e775f commit 10127ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ public Properties getKafkaConsumerProperties() {
292292
* provided by the consumer factory; properties here will supersede any with the same
293293
* name(s) in the consumer factory.
294294
* {@code group.id} and {@code client.id} are ignored.
295+
* Property values must be {@link String}s; only properties returned by
296+
* {@link Properties#stringPropertyNames()} will be applied.
295297
* @param kafkaConsumerProperties the properties.
296298
* @see org.apache.kafka.clients.consumer.ConsumerConfig
297299
* @see #setGroupId(String)

0 commit comments

Comments
 (0)