apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
13.94k stars 3.53k forks source link

[improve][broker] Improve exception for topic does not have schema to check #22974

Closed shibd closed 1 day ago

shibd commented 1 week ago

Motivation

If a consumer use schema to connector a active topic with empty(or bytes) schema, will receive IncompatibleSchemaException: Topic does not have schema to check

But, This exception message may confuse for users.

Modifications

Verifying this change

Documentation

Matching PR in forked repository

PR in forked repository: