Skip to content

[Bug] When the topic name is four-paragraph and the namespace does not exist, the topic can also be produced and consumed normally #23696

Open
@zjxxzjwang

Description

@zjxxzjwang

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

pulsar:4.0.1
java-sdk:2.9.2

Minimal reproduce step

Producer<byte[]> producer = myClient.newProducer().
topic("persistent://wzjtest-tenant/cluster/test-ns/topic").create();

What did you expect to see?

Not found: Namespace not found

What did you see instead?

Can produce and consume normally

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions