Do not refresh metadata eagerly:
This commit is contained in:
committed by
Artem Bilan
parent
38856ee984
commit
d475a79d83
@@ -78,8 +78,6 @@ public class DefaultConnectionFactory implements InitializingBean, ConnectionFac
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
Assert.notNull(this.configuration, "Kafka configuration cannot be empty");
|
||||
refreshMetadata(this.configuration.getDefaultTopic() == null ? Collections.<String>emptyList() :
|
||||
Collections.singletonList(this.configuration.getDefaultTopic()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user