Skip to content

Commit

Permalink
post merge fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
ABMC831 committed Oct 23, 2024
1 parent 2b182a5 commit 580f252
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object Writer {
def writeOnce[T: Encoder](writerProps: Properties, topicName: String, messageKey: String, sampleMessageToWrite: T): Unit = {
val writer = new WriterImpl[T](writerProps, topicName)
try {
writer.Write(messageKey, sampleMessageToWrite)
writer.write(messageKey, sampleMessageToWrite)
} finally {
writer.close()
}
Expand Down

0 comments on commit 580f252

Please sign in to comment.