You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Subscription with schema fails if there is an AUTO-CONSUME consumer attached to a topic #17354
==> failure with IncompatibleSchemaException("Topic does not have schema to check")
stop the first consumer and start the test again ==> success
What did you expect to see?
Not failing
What did you see instead?
Failing
Anything else?
This happens because in PersistentTopic::addSchemaIfIdleOrCheckCompatible, we call checkSchemaCompatibleForConsumer if there are active consumers but no topic schema.
And checkSchemaCompatibleForConsumer fails if there's no schema.
Also addSchemaIfIdleOrCheckCompatible will not try to add the new consumer schema.
Activity
Technoboy- commentedon Aug 31, 2022
Fixed by #17353
cbornet commentedon Aug 31, 2022
No it's not fixed by #17353.
Can we reopen ?
eolivelli commentedon Aug 31, 2022
reopened
Denovo1998 commentedon Sep 3, 2022
Fixed by #17449
github-actions commentedon Oct 4, 2022
The issue had no activity for 30 days, mark with Stale label.
[fix][client] Fix consumer with schema cannot subscribe when AUTO_CON…
[fix][client] Fix consumer with schema cannot subscribe when AUTO_CON…
[fix][client] Fix consumer with schema cannot subscribe when AUTO_CON…
[PIP-236][fix][broker]Fix using schema to create consumer fails after…