@@ -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());
@@ -3245,7 +3245,7 @@ Starting with version 2.3.4, you can add a `ContainerCustomizer` to the factory
32453245[source, java]
32463246----
32473247@Bean
3248- public KafkaListenerContainerFactory<?, ? > kafkaListenerContainerFactory() {
3248+ public KafkaListenerContainerFactory<?> kafkaListenerContainerFactory() {
32493249 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
32503250 new ConcurrentKafkaListenerContainerFactory<>();
32513251 ...
@@ -4325,7 +4325,7 @@ The following example shows how to do so:
43254325[source, java]
43264326----
43274327@Bean
4328- public KafkaListenerContainerFactory<?, ? > kafkaJsonListenerContainerFactory() {
4328+ public KafkaListenerContainerFactory<?> kafkaJsonListenerContainerFactory() {
43294329 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
43304330 new ConcurrentKafkaListenerContainerFactory<>();
43314331 factory.setConsumerFactory(consumerFactory());
@@ -4603,7 +4603,7 @@ The following example creates beans that use this method:
46034603[source, java]
46044604----
46054605@Bean
4606- public KafkaListenerContainerFactory<?, ? > kafkaListenerContainerFactory() {
4606+ public KafkaListenerContainerFactory<?> kafkaListenerContainerFactory() {
46074607 ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
46084608 new ConcurrentKafkaListenerContainerFactory<>();
46094609 factory.setConsumerFactory(consumerFactory());
0 commit comments