Hi all, There is a breaking change for old version clients when using HTTP lookup, see details in discussion here[1]. The affected clients I know are: - Java client 2.4.1 or earlier - C++/Python clients 2.8.0 or earlier
In short, #10601 changed the behavior for querying the partition metadata of a topic that does not exist. - Before: returns 0 - After: return a TopicNotFound error, this could differ between a non-partitioned topic and a topic that does not exist. Since the new getPartitionedTopicMetadata semantics have already been used for all recent active releases (2.8 to now), it's better not to revert #10601. Instead, I'd like to add a config to keep compatibility for legacy clients. ```bash allowAutoTopicCreationForLegacyClients=false ``` If it's true, the legacy clients should be supported. [1] https://github.com/apache/pulsar/pull/10601#issuecomment-1319501354 Thanks, Yunze