Merge branch 'dev' into logger_appender
This commit is contained in:
commit
aefd907ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ public class KafkaConfig {
|
|||
|
||||
public KafkaConfig(ClearingServiceSettings settings) {
|
||||
this.kafkaSettings = settings.getKafkaConsumer();
|
||||
Integer gtwTimeout = settings.getSessionStage().getInspectionGatewayTimeout();
|
||||
Integer gtwTimeout = settings.getSessionStage() == null ? null : settings.getSessionStage().getInspectionGatewayTimeout();
|
||||
if (gtwTimeout != null) {
|
||||
int maxPollIntervalMs = gtwTimeout * 1000 + 1000;
|
||||
log.debug("setting max.poll.interval.ms {}", maxPollIntervalMs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue