You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/23 16:00:42 UTC

[GitHub] [pulsar] EliHarper opened a new issue #8672: Complex Schema Deserialization Issues

EliHarper opened a new issue #8672:
URL: https://github.com/apache/pulsar/issues/8672


   **Describe the bug**
   message.value() deserialization failing with complex schema defined within the Python client when using Json and Avro schemas.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Run the "pulsar-all" image in a Docker container
   2. Configure a nested object that uses a previously defined record as a field in another using the Python client
   3. Attempt to deserialize the messages from a topic with the nested object using message.value()
   4. See error (IndexError: list out of range with Avro, TypeError: '<dict>' found when your defined SubSchema expected with Json)
   
   **Expected behavior**
   Objects correctly deserialized from Json/Avro to the type specified in the schemas.
   
   **Desktop (please complete the following information):**
    - OS: CentOS 7, Docker version 19.03.13, build 4484c46d9d
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] EliHarper commented on issue #8672: Complex Schema Deserialization Issues

Posted by GitBox <gi...@apache.org>.
EliHarper commented on issue #8672:
URL: https://github.com/apache/pulsar/issues/8672#issuecomment-736614469


   I'm sorry for the late response, and thanks for getting back to me.
   
   I'm pulled the latest on 11/9, which I believe is 2.6.2, according to the digest (4baf6e...)
   
   Thanks again for your help, and please let me know if there's anything else I can get for you.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #8672: Complex Schema Deserialization Issues

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #8672:
URL: https://github.com/apache/pulsar/issues/8672#issuecomment-732550099


   @EliHarper which version of the Pulsar image are you using?
   @gaoran10 @congbobo184  to take a look. Since is easy to reproduce, also mark this as help-wanted, anyone is interested in this issue could also to have a try. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org