[Bug] Topic does not exist in the remote cluster for non-paritioned topics
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before reporting
- [x] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Read release policy
- [x] I understand that [unsupported versions](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
### User environment
Broker version: 4.0.4
### Issue Description
Non-Paritioned Topics are not getting created in the remote cluster if topic auto-creation is disabled. But partition topics work fine.
### Error messages
```text
```
### Reproducing the issue
1. Create geo-replicating cluster
2. Disable topic auto-creation on the remote cluster.
3. Create non-parttion topic on the local cluster.
4. Send message to the topic on the local cluster.
5. Message will not replicate to the remote cluster.
### Additional information
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.