Skip to content

Commit

Permalink
change deprecated constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarter97 committed Feb 16, 2022
1 parent ed44a16 commit d9414ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/com/sky/kafka/topicloader/TopicLoader.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.sky.kafka.topicloader

import java.lang.{Long => JLong}
import java.util.{List => JList, Map => JMap}
import java.util.{List => JList, Map => JMap, Optional}

import akka.actor.ActorSystem
import akka.kafka.scaladsl.Consumer
Expand Down Expand Up @@ -45,12 +45,12 @@ object TopicLoader extends TopicLoader with DeprecatedMethods {
fab.offset,
fab.timestamp,
fab.timestampType,
ConsumerRecord.NULL_CHECKSUM.toLong,
fab.serializedKeySize,
fab.serializedValueSize,
f(fab.key),
g(fab.value),
fab.headers
fab.headers,
Optional.empty[Integer]
)
}

Expand Down

0 comments on commit d9414ce

Please sign in to comment.