Doc polishing, remove connectionFactory

(cherry picked from commit 2502a8fe1c)
This commit is contained in:
Artem Yakshin
2018-10-18 14:32:28 -04:00
committed by Artem Bilan
parent 16f3d8c99d
commit aa400fa4b8
4 changed files with 8 additions and 8 deletions

View File

@@ -1265,12 +1265,12 @@ To configure this feature, set the `idleEventInterval` on the container:
[source, java]
----
@Bean
public KafKaMessageListenerContainer(ConnectionFactory connectionFactory) {
public KafkaMessageListenerContainer(ConsumerFactory<String, String> consumerFactory) {
ContainerProperties containerProps = new ContainerProperties("topic1", "topic2");
...
containerProps.setIdleEventInterval(60000L);
...
KafKaMessageListenerContainer<String, String> container = new KafKaMessageListenerContainer<>(...);
KafkaMessageListenerContainer<String, String> container = new KafKaMessageListenerContainer<>(...);
return container;
}
----