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 has been 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
decode
isbyte[]
, but the class name inPulsarPrimitiveSchema
isByte[]
, which will cause type conversion exceptions during task execution.To Reproduce
Create a source like:
then would receive
ClassCastException
.The text was updated successfully, but these errors were encountered: