You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consequently, an IllegalArgumentException is thrown:
12:25:50.058 [main] ERROR o.s.boot.SpringApplication - Application run failed
java.lang.IllegalArgumentException: An array of topicPartitions must be provided
at org.springframework.util.Assert.notEmpty(Assert.java:361)
at org.springframework.kafka.listener.config.ContainerProperties.(ContainerProperties.java:196)
…
The text was updated successfully, but these errors were encountered:
Resolvesspring-projects#812
Allow user annotations meta-annotated with `@KafkaListener` to set alias properties.
Also fix exception text when no topic/partition info provided.
Resolves#812
Allow user annotations meta-annotated with `@KafkaListener` to set alias properties.
Also fix exception text when no topic/partition info provided.
* Add docs.
Resolvesspring-projects/spring-kafka#812
Allow user annotations meta-annotated with `@KafkaListener` to set alias properties.
Also fix exception text when no topic/partition info provided.
* Add docs.
With the meta-annotation bellow
the following method is correctly recognized as a KafkaListener BUT without the attribute "topics" set.
Consequently, an IllegalArgumentException is thrown:
12:25:50.058 [main] ERROR o.s.boot.SpringApplication - Application run failed
java.lang.IllegalArgumentException: An array of topicPartitions must be provided
at org.springframework.util.Assert.notEmpty(Assert.java:361)
at org.springframework.kafka.listener.config.ContainerProperties.(ContainerProperties.java:196)
…
The text was updated successfully, but these errors were encountered: