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 }}
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
The return type of method decode is byte[], but the class name in PulsarPrimitiveSchema is Byte[], which will cause type conversion exceptions during task execution.
Describe the bug
The class and schema is not match for byte array in
PulsarPrimitiveSchema.https://github.com/apache/pulsar/blob/0bc45b54f29c5ffa1918e49aa4a341f70679162a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/schema/BytesSchema.java#L50-L53
The return type of method
decodeisbyte[], but the class name inPulsarPrimitiveSchemaisByte[], which will cause type conversion exceptions during task execution.To Reproduce
Create a source like:
then would receive
ClassCastException.