lynnmatrix opened a new issue #6612: Failed to decode long type fields in json 
schema message
URL: https://github.com/apache/pulsar/issues/6612
 
 
   **Describe the bug**
   If message sent in json schema, long field will be decoded as int if its 
value below Integer.MAX_VALUE, other wise decoded as string.
   For example, the json message below: 
   ```json
   {
       "timestamp": 1585204833128
   }
   ```
   will be decoded as 
   
   ```json
   {
       "timestamp": "1585204833128"
   }
   ```
   
   **To Reproduce**
   
   **Expected behavior**
   Long type fields encoded in json schema will be decoded as long.
   
   **Screenshots**
   
   **Desktop (please complete the following information):**
   
   
   **Additional context**
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to