You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2026/09/14 07:51:00 UTC

[jira] [Resolved] (CAMEL-23316) Regular Kafka test failure "UnknownTopicOrPartitionException: This server does not host this topic-partition."

     [ https://issues.apache.org/jira/browse/CAMEL-23316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aurélien Pupier resolved CAMEL-23316.
-------------------------------------
    Fix Version/s: 4.23.0
       Resolution: Fixed

not found recent similar failure in develocity.apache.org

> Regular Kafka test failure "UnknownTopicOrPartitionException: This server does not host this topic-partition."
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23316
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23316
>             Project: Camel
>          Issue Type: Test
>          Components: camel-kafka
>    Affects Versions: 4.19.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>             Fix For: 4.23.0
>
>
> kafka test are regularly (3 times on the last 6 builds) failing on CI with this kind of error:
> {noformat}
> org.opentest4j.AssertionFailedError: Exception while creating Kafka topic
> 	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:47)
> 	at org.junit.jupiter.api.Assertions.fail(Assertions.java:157)
> 	at org.apache.camel.component.kafka.integration.common.KafkaTestUtil.createTopic(KafkaTestUtil.java:105)
> 	at org.apache.camel.processor.idempotent.kafka.KafkaIdempotentRepositoryNonEagerIT.createRepositoryTopic(KafkaIdempotentRepositoryNonEagerIT.java:50)
> Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition.
> 	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
> 	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
> 	at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:173)
> 	at org.apache.camel.component.kafka.integration.common.KafkaTestUtil.createTopic(KafkaTestUtil.java:101)
> 	... 1 more
> Caused by: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This server does not host this topic-partition. {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)