[
https://issues.apache.org/jira/browse/KAFKA-16900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852571#comment-17852571
]
Justine Olshan edited comment on KAFKA-16900 at 6/5/24 8:40 PM:
----------------------------------------------------------------
In order to use transactions `transactionDurationMs` must be set.
[https://github.com/apache/kafka/blob/896af1b2f2f2a7d579e0aef074bcb2004c0246f2/tools/src/main/java/org/apache/kafka/tools/ProducerPerformance.java#L72]
Also looks like the version is 2.3 (2.12 is the scala version :) ) 2.9 is also
not a version.
was (Author: jolshan):
In order to use transactions `transactionDurationMs` must be set.
https://github.com/apache/kafka/blob/896af1b2f2f2a7d579e0aef074bcb2004c0246f2/tools/src/main/java/org/apache/kafka/tools/ProducerPerformance.java#L72
Also looks like the version is 2.3 (2.12 is the scala version :) )
> kafka-producer-perf-test reports error when using transaction.
> --------------------------------------------------------------
>
> Key: KAFKA-16900
> URL: https://issues.apache.org/jira/browse/KAFKA-16900
> Project: Kafka
> Issue Type: Bug
> Components: producer
> Affects Versions: 2.9
> Reporter: Chen He
> Priority: Minor
> Labels: perf-test
>
> [https://lists.apache.org/thread/dmrbx8kzv2w5t1v0xjvyjbp5y23omlq8]
> encounter the same issue as mentioned above.
> Did not found the 2.13 version in affects versions so mark it as the most
> latest it provided. 2.9. Please feel free to change if possible.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)