You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ming-Yen Chung (Jira)" <ji...@apache.org> on 2026/07/02 15:04:00 UTC
[jira] [Assigned] (KAFKA-20677) Enhance the test coverage of testCannotSendToInternalTopic
[ https://issues.apache.org/jira/browse/KAFKA-20677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ming-Yen Chung reassigned KAFKA-20677:
--------------------------------------
Assignee: Ming-Yen Chung (was: Ketha Aravind)
> Enhance the test coverage of testCannotSendToInternalTopic
> -----------------------------------------------------------
>
> Key: KAFKA-20677
> URL: https://issues.apache.org/jira/browse/KAFKA-20677
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Ming-Yen Chung
> Priority: Major
>
> When sending data to an internal topic, we should test the following scenarios.
> 1. auto-create=true and internal topic exists = InvalidTopicException
> 2. auto-create=false and internal topic exists = InvalidTopicException
> 3. auto-create=true and internal topic doesn't exist = InvalidTopicException and internal topic will be created
> 4. auto-create=false and internal topic doesn't exist = UnknownTopicOrPartitionException and internal topic will NOT be created
> The test `testCannotSendToInternalTopic` attempts to cover case_2, but it incorrectly removes the internal topic ...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)