missleading error message

As best as I can tell, the correct config would be:
`retrievalMode=FANOUT`

in fact, I want to use
`retrievalMode=POLLING`

but that probably belongs in some other docs.
This commit is contained in:
jnewbigin 2019-04-09 17:37:33 +10:00 committed by GitHub
parent c8f82836b1
commit 6452d019a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ public enum RetrievalMode {
private static RetrievalConfigBuilder decideForDefault(MultiLangDaemonConfiguration configuration) {
if (configuration.getPollingConfig().anyPropertiesSet()) {
log.warn("Some polling properties have been set, defaulting to polling. "
+ "To switch to Fanout either add `RetrievalMode=FANOUT` to your "
+ "To switch to Fanout either add `retrievalMode=FANOUT` to your "
+ "properties or remove the any configuration for polling.");
return configuration.getPollingConfig();
}