Skip to content

Commit

Permalink
Koblet til brukernotifikasjon
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusev committed Jun 9, 2021
1 parent a4a0529 commit e3072df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package no.nav.fo.veilarbvarsel.config.kafka.utils.props

import io.confluent.kafka.serializers.AbstractKafkaAvroSerDeConfig
import io.confluent.kafka.serializers.KafkaAvroSerializer
import no.nav.common.kafka.util.KafkaPropertiesPreset.onPremDefaultProducerProperties
import no.nav.common.utils.NaisUtils
Expand All @@ -16,7 +17,7 @@ data class KafkaAvroProducerProperties(val env: KafkaEnvironment) {
//properties[ProducerConfig.BOOTSTRAP_SERVERS_CONFIG] = env.bootstrapServers
properties[ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG] = KafkaAvroSerializer::class.java
properties[ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG] = KafkaAvroSerializer::class.java
//properties[AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG] = env.schemaRegistryUrl
properties[AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG] = env.schemaRegistryUrl

return properties
}
Expand Down

0 comments on commit e3072df

Please sign in to comment.