Skip to content

Commit

Permalink
Fikset KClass istedenfor java class i kafka cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmsa committed Nov 15, 2024
1 parent 8e1d85d commit 7592fa9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class KafkaFactory(private val config: KafkaConfig) {
ConsumerConfig.GROUP_ID_CONFIG to groupId,
ConsumerConfig.CLIENT_ID_CONFIG to clientId,
ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG to keyDeserializer.java,
ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG to KafkaAvroDeserializer::class,
ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG to KafkaAvroDeserializer::class.java,
ConsumerConfig.MAX_POLL_RECORDS_CONFIG to maxPollrecords
)
)
Expand Down

0 comments on commit 7592fa9

Please sign in to comment.