Skip to content

Commit

Permalink
litt bedre håndtering av boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
anostoga committed Jan 18, 2021
1 parent 520449a commit 94b7a26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class RapidApplication internal constructor(
rapidTopic = env.getValue("KAFKA_RAPID_TOPIC"),
extraTopics = env["KAFKA_EXTRA_TOPIC"]?.split(',')?.map(String::trim) ?: emptyList(),
kafkaConfig = KafkaConfig(
isKafkaCloud = env["IS_KAFKA_CLOUD"] != null,
isKafkaCloud = env["IS_KAFKA_CLOUD"]?.let { "true" == it.toLowerCase() },
bootstrapServers = env.getValue("KAFKA_BOOTSTRAP_SERVERS"),
consumerGroupId = env.getValue("KAFKA_CONSUMER_GROUP_ID"),
clientId = instanceId,
Expand Down

0 comments on commit 94b7a26

Please sign in to comment.