[
https://issues.apache.org/jira/browse/KAFKA-17986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905268#comment-17905268
]
Chia-Ping Tsai commented on KAFKA-17986:
----------------------------------------
`ProducerRebootstrapTest` has many issues in using kraft.
1. it passes `unclean.leader.election.enable` as server config but it is not
configured on controller node. We should append the config to topic in creating
topic.
2. it assumes `topic` is distributed on [0, 1]. If the order is not correct,
the test can't pass. We should create the topic manually to ensure the
distribution.
3. in kraft mode, the time to trigger unclean election is 5 mins. it is too
long to wait. We should configure controller to reduce the number.
Additionally, `ProducerRebootstrapTest` should be rewritten by java and new
test infra.
> Fix ConsumerRebootstrapTest and ProducerRebootstrapTest
> -------------------------------------------------------
>
> Key: KAFKA-17986
> URL: https://issues.apache.org/jira/browse/KAFKA-17986
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Colin McCabe
> Assignee: Chia-Ping Tsai
> Priority: Blocker
>
> ConsumerRebootstrapTest and ProducerRebootstrapTest are new in 4.0, but don't
> seem to work with KRaft. They seem to be part of the new KIP-899 feature.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)