@@ -1525,7 +1525,7 @@ The following example shows how to do so:
15251525[source, java]
15261526----
15271527@Bean
1528- public KafkaListenerContainerFactory<?, ? > batchFactory() {
1528+ public KafkaListenerContainerFactory<?> batchFactory() {
15291529 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
15301530 new ConcurrentKafkaListenerContainerFactory<>();
15311531 factory.setConsumerFactory(consumerFactory());
@@ -3247,7 +3247,7 @@ Starting with version 2.3.4, you can add a `ContainerCustomizer` to the factory
32473247[source, java]
32483248----
32493249@Bean
3250- public KafkaListenerContainerFactory<?, ? > kafkaListenerContainerFactory() {
3250+ public KafkaListenerContainerFactory<?> kafkaListenerContainerFactory() {
32513251 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
32523252 new ConcurrentKafkaListenerContainerFactory<>();
32533253 ...
@@ -4299,7 +4299,7 @@ The following example shows how to do so:
42994299[source, java]
43004300----
43014301@Bean
4302- public KafkaListenerContainerFactory<?, ? > kafkaJsonListenerContainerFactory() {
4302+ public KafkaListenerContainerFactory<?> kafkaJsonListenerContainerFactory() {
43034303 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
43044304 new ConcurrentKafkaListenerContainerFactory<>();
43054305 factory.setConsumerFactory(consumerFactory());
@@ -4577,7 +4577,7 @@ The following example creates beans that use this method:
45774577[source, java]
45784578----
45794579@Bean
4580- public KafkaListenerContainerFactory<?, ? > kafkaListenerContainerFactory() {
4580+ public KafkaListenerContainerFactory<?> kafkaListenerContainerFactory() {
45814581 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
45824582 new ConcurrentKafkaListenerContainerFactory<>();
45834583 factory.setConsumerFactory(consumerFactory());
0 commit comments