Skip to content

Commit

Permalink
Add warning for fromJavaConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten committed Jul 23, 2024
1 parent 8dc16f3 commit 5e5ca7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-kafka/src/main/scala/zio/kafka/consumer/Consumer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ object Consumer {
/**
* Create a zio-kafka Consumer from an org.apache.kafka KafkaConsumer
*
* You are responsible for creating and closing the KafkaConsumer
* You are responsible for creating and closing the KafkaConsumer. Make sure auto.commit is disabled.
*/
def fromJavaConsumer(
javaConsumer: JConsumer[Array[Byte], Array[Byte]],
Expand Down

0 comments on commit 5e5ca7c

Please sign in to comment.